One more thing. The host has a www directory. When using rails the app
is in another directory with a .htaccess and a RewriteRule in www
pointing to the rails app and dispatch.fcgi. Could it be a problem with
that?
Should I run "RAILS_ENV=production bundle exec rake assets:precompile"
on the server? Must I do that each time I add a new asset, e g image or
new css file?
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).
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?
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?
I don't, and I hope someone else can, for both our sakes!