Skip to content

Instantly share code, notes, and snippets.

@Mikke
Created October 13, 2012 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mikke/3886449 to your computer and use it in GitHub Desktop.
Save Mikke/3886449 to your computer and use it in GitHub Desktop.
console bash
rvm use 1.9.3 do bundle install --path ../../shared/gems
development:
adapter: postgresql
host: postgresql2.locum.ru
port: 5432
encoding: unicode
database: project_db
username: username
password: password
test:
production:
adapter: postgresql
host: postgresql2.locum.ru
port: 5432
encoding: unicode
database: project_db
username: username
password: password
git remote add upstream https://github.com/Username/You-Project.git
git fetch upstream
cd projects/your-project/current/
rvm use 1.9.3 do bundle exec rake db:migrate
rvm use 1.9.3 do bundle exec rake db:seed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment