[Rails] How to set config.assets_dir? (Rails 3.0.9)
Hi,
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:
actionpack-3.0.9/lib/action_view/helpers/asset_tag_helper.rb:794:in
`rails_asset_id'
...
railties-3.0.9/lib/rails/commands/runner.rb:50:in `eval': 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?
Thanks,
r.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home