Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialUnsubscribed User
1,040 PointsCSS not loading - Rails - Heroku
I have pushed my app to Heroku and now the CSS isn't loading.
And i found this solution while i was searching here that i could run a command, and when i run the command (RAILS_ENV=production bundle exec rake assets:precompile),
i get this error RAILS_ENV=production bundle exec rake assets:precompile Could not find json-1.7.3 in any of the sources Run bundle install
to install missing gems. MyName-MBP:Portal MyUserName$
What shall i do?!
Kevin Egstorf
26,590 Pointsdid you add this line
config.serve_static_assets = true
in the config/application.rb
file?
Andrew Stelmach
12,583 PointsAndrew Stelmach
12,583 PointsDon't use that command - it's forcing Rails to do something it already does by default. It's impossible to answer your question without seeing all of your code; do you have it on github? Link?