Re: [Rails] Assets not loading in production

2013-10-14 Thread Fahad Idrees
you should try this command rake assets:precompile RAILS_ENV=development On Sat, Oct 12, 2013 at 7:45 PM, Phillip phil...@gmail.com wrote: Hello, (Rails 4, Ruby 2) I am trying to deploy my first rails app in a production environment, but cannot get the assets to load. The site is hosted

[Rails] Assets not loading in production

2013-10-12 Thread Phillip
Hello, (Rails 4, Ruby 2) I am trying to deploy my first rails app in a production environment, but cannot get the assets to load. The site is hosted on Webfaction, they advise to create a static app to serve the assets which I have done. But I don't understand how my rails app then knows

Re: [Rails] Assets not loading in production

2013-10-12 Thread Jordon Bedwell
On Sat, Oct 12, 2013 at 9:45 AM, Phillip phil...@gmail.com wrote: I am trying to deploy my first rails app in a production environment, but cannot get the assets to load. The site is hosted on Webfaction, they advise to create a static app to serve the assets which I have done. But I don't

Re: [Rails] Assets not loading in production

2013-10-12 Thread Phillip
Thanks Jordon, that's giving me a few things to go on. (Off to investigate...) On Saturday, October 12, 2013 4:15:18 PM UTC+1, Jordon Bedwell wrote: On Sat, Oct 12, 2013 at 9:45 AM, Phillip phi...@gmail.com javascript: wrote: I am trying to deploy my first rails app in a production