there is a rails_root helper. but it is depreciated. check out this http://stackoverflow.com/questions/9192795/rails-root-not-longer-valid-when-loading-images-with-the-prawnto-2-gem
On Tuesday, July 16, 2013 8:38:24 AM UTC-7, Ruby-Forum.com User wrote: > > Walter Davis wrote in post #1115639: > > I find that I do have to do this after every change at the server. I > > don't need to include the environment, it seems to be a default somehow. > > rake assets:precompile is enough (I do run rvm on the server, so the > > bundle exec part is inferred as well). > > > > Walter > > Thank you. Good to know. > > Do you know how to solve wrong path for assets? Can I assign where root > is in my environment? > > -- > Posted via http://www.ruby-forum.com/. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/12c5d5ae-727c-44f4-8d7f-7bc26429f045%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

