Created
May 10, 2012 19:31
-
-
Save joncode/2655306 to your computer and use it in GitHub Desktop.
Heroku upload problems
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gem "twitter-bootstrap-rails", "~> 2.0.1.0" | |
| - do not put in group :assets | |
| @import font may need to b commented out | |
| linkto stylesheets and javascript_link calls | |
| - delete them | |
| - do not have double calls between those and the //= require statements in application .js & .css | |
| user get default items for photo_urls etc | |
| - so when they first sign up methods like gravatar_for don't break | |
| heroku run rake db:migrate | |
| - don't forget this step | |
| group :production do | |
| gem 'pg', '0.12.2' | |
| gem 'thin' | |
| end | |
| - heroku likes the thin server - goodbye web brick | |
| RAILS_ENV=production bundle exec rake assets:precompile --trace | |
| - if assets are not compiling onto heroku , precompile on local machine with this command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment