ruby on rails - bundle exec rake assets:precompile issue with the generated application.js file -
i host fulcrum app on phusion going nuts configuration issue
the application picking url
http://example.com/projects/4 instead of
http://example.com/fulcrum/projects/4 could point mistake. tried change assets.prefix in production.rb , recompile assets changes location of assets doesn't change root url in application.js
the app hosted @
http://example.com/fulcrum and rest of site functional except jquery/ajax part.
setting config.action_controller.asset_host = "http://example.com/fulcrum"in production.rb should trick.
if you're sending emails should set config.action_mailer.asset_host too.
Comments
Post a Comment