Skip to content

Instantly share code, notes, and snippets.

@masainox
Created February 8, 2013 11:37
Show Gist options
  • Save masainox/4738375 to your computer and use it in GitHub Desktop.
Save masainox/4738375 to your computer and use it in GitHub Desktop.
#!/bin/sh
git clone [email protected]:masainox/redmine.git
cd redmine
heroku create
git checkout 2.2-stable-for-heroku
git push heroku 2.2-stable-for-heroku:master
bundle exec rake generate_secret_token_for_heroku
heroku run rake db:migrate
heroku run rake redmine:load_default_data
# open app
heroku open
@loicginoux
Copy link

Thank you for this!!! To make it work and to complete previous comment, I had to :

  • "bundle install" before "bundle exec rake generate_secret_token_for_heroku"
  • add "gem 'iconv', '~> 1.0.3'" to Gemfile
  • add "ruby '1.9.3' " to Gemfile
  • "heroku ps:restart" before "heroku open"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment