Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README improvements #41

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@ Instead use the sass `@import` directive. In rails projects, the
There was a bug in rails 3.1.0 -- please make sure you are running 3.1.1
at the earliest for this version of rails.

If you want to exclude the generated sprites from Git, you will want to generated them in a directory that can be ignored. Do so by customizing the ``generated_images_dir`` in your application.rb. (Example)

```ruby
config.compass.generated_images_dir = 'app/assets/images/sprites'
```
Following that, make sure to add the sprites directory to your ``assets.paths`` so the sprites are accessible via HTTP (Example)

```ruby
config.assets.paths << Rails.root.join("app", "assets", "images", "sprites")
```

## Rails 3.0 Caveats

If you want rails to compile your stylesheets (instead of using the
Expand Down