I am trying to deploy on a shared host, hostgator, and they have set up the application as mydomain/test2.
They suggested the following in config/environments/development.rb ActionController::AbstractRequest.relative_url_root = "/test2" With this the application routing works, but the application cannot load the javascript files. It looks for mydomain/test2/javascripts/prototype.js?some numbers I cannot find the actual url of the javascript file to manually load the javascript file. the host suggested ENV['ASSETS_DIR'] = '/test2' but I can't find any documentation on rails environment variable and it does not work. any suggestion? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
