Skip to content

Instantly share code, notes, and snippets.

@jgeo
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save jgeo/d93f5d80880b5ada8869 to your computer and use it in GitHub Desktop.

Select an option

Save jgeo/d93f5d80880b5ada8869 to your computer and use it in GitHub Desktop.
echo 'Updating RVM'
rvm get stable
rvm cleanup all
echo "Installing Ruby version $RUBY_VERSION"
RUBY_VERSION=2.1.2
rvm uninstall $RUBY_VERSION
rvm install $RUBY_VERSION
rvm --default use $RUBY_VERSION
gem install bundler
echo 'Verify new ruby install'
cd ~/git/frontend
git checkout develop
bundle install
rake db:migrate
rake db:test:prepare
bundle install
rvm reload
bundle exec rspec spec
bundle exec cucumber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment