D
D
Dmitry Lebedev2014-03-28 10:41:18
PostgreSQL
Dmitry Lebedev, 2014-03-28 10:41:18

Trouble running RoR app?

Hello
Installed RoR on CentOS 6.5 (Passenger+nginx+Postgresql) according to instructions .
Decided to install ComfortableMexicanSofa. I registered the treasured gems 'comfortable_mexican_sofa', '~> 1.11.0' in the Gemfile.
Migrated data to the database (PostgreSql), rebooted nginx. The page opens, but for some reason css and js are not loaded.
07242db0a1a8467d842e62820a833715.PNG
When I try to open CSS or JS from source I get the following pastebin.com/xcB4qPQY i.e. 404 error.
Where, what should be corrected?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Platonov, 2014-03-28
@k3NGuru

bundle exec rake assets:precompile RAILS_ENV=production

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question