Skip to content

Instantly share code, notes, and snippets.

@ecarnevale
Created March 8, 2010 12:17
Show Gist options
  • Select an option

  • Save ecarnevale/325115 to your computer and use it in GitHub Desktop.

Select an option

Save ecarnevale/325115 to your computer and use it in GitHub Desktop.
#!/bin/sh
export PATH=/opt/ruby/bin:~/.gem/ruby/1.8/bin:$PATH
export RAILS_ENV=test
# Bundle commands for Rails3
# bundle install &&
# bundle lock &&
cp config/database.yml.example config/database.yml &&
# Rails2 shenanigans
gem install -v=2.3.4 rails --no-rdoc --no-ri --user-install &&
gem install sqlite3-ruby --no-rdoc --no-ri --user-install &&
rake gems:install &&
# common part
rake db:migrate &&
rake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment