Skip to content

Instantly share code, notes, and snippets.

@tnolet
Last active December 27, 2015 13:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tnolet/7334360 to your computer and use it in GitHub Desktop.
Save tnolet/7334360 to your computer and use it in GitHub Desktop.
Using RubyMine with Vagrant running Ruby

Creating a RVM based Ruby environment on Vagrant

Update all packages

yum update

Install RVN. note: Don't do this as a root user!

curl -L get.rvm.io | bash -s stable

Source the RVM executable

source ~/.rvm/bin/rvm

Install the requirements for RVM

rvm requirements

List the available version

rvm list known

Install Ruby 2.0.0

rvm install 2.0.0

Use it

rvm use 2.0.0 --default

Create a gemset

rvm gemset create rails4

Use it

rvm gemset use rails4

Install rails 4.0.1, this will take while

gem install rails --version 4.0.1

Based on: https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-centos-6-with-rvm

@tamouse
Copy link

tamouse commented Jun 20, 2015

What does this have to do with RubyMine?

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