How to set config.assets_dir? (Rails 3.0.9)


I have a problem with Rails 3.0.9. I am generating some concatenated
javascript files with a runner, it is working flawlessly in Rails 2.3.
With Rails 3.0.9 I get an Exception with this backtrace:

rails_asset_id' ... railties-3.0.9/lib/rails/commands/runner.rb:50:ineval’: can’t
convert nil into String (TypeError)

The rails_asset_id method is using config.assets_dir to join it with
the javascript file name, but config.assets_dir is nil and it fails.
I’ve tried to set the assets_dir in various places, but without
success. I also can’t find any documentation for this parameter.

Does anybody has a clue, how one should set the assets_dir?



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs