Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save jgeo/2be547188dcfe435bd27 to your computer and use it in GitHub Desktop.
Upgrading to Ruby 2.x
echo 'Updating RVM'
rvm get stable
rvm cleanup all
echo "Installing Ruby version $RUBY_VERSION"
RUBY_VERSION=2.1.2
rvm install $RUBY_VERSION
rvm reload
rvm --default use $RUBY_VERSION
rvm reload
echo 'Verify new ruby install'
cd ~/git/frontend
git checkout ruby-2
rake db:migrate
rake db:test:prepare
bundle
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