Skip to content

Instantly share code, notes, and snippets.

@joncode
Created May 10, 2012 19:31
Show Gist options
  • Select an option

  • Save joncode/2655306 to your computer and use it in GitHub Desktop.

Select an option

Save joncode/2655306 to your computer and use it in GitHub Desktop.
Heroku upload problems
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