sstephenson/sprockets — Issue #231: Assets in production use for Rack based application
Author: amrnt
Created: 2011-10-25 22:15:05+00:00
State: open

I have this snippet in `config.ru`

```ruby
sprockets = Sprockets::Environment.new
sprockets.append_path 'app/assets/images'
sprockets.append_path 'app/assets/stylesheets'
sprockets.append_path 'app/assets/javascripts'

run Rack::URLMap.new \
"/" => App,
"/assets" => sprockets
```

What should I do next to access some methods, for some helpers like assets_path of images in css files? And what about production processing?