Skip to content

Instantly share code, notes, and snippets.

@jhenkens
Last active August 29, 2015 13:58
Show Gist options
  • Save jhenkens/9946928 to your computer and use it in GitHub Desktop.
Save jhenkens/9946928 to your computer and use it in GitHub Desktop.
RubyMine Rubytutorials.org RVM setup
Working through the Rubytutorials.org tutorial, I wanted to use the Jetbrain's
RubyMine IDE, because I love all of their IDEs. One of the problems is that they
do not discuss specifically how to use RubyMine in the context of their
tutorial. Specifically, I followed all the steps to set up RVM, and it
appeared that RubyMine was not following my RVM gemset as configured through
the RubyTutorials.org guide. Eventually I found out that RubyMine does not
appear to support any RVM 'configuration files' except for the project level
'.rvmrc' shell-script. Following the tutorial, I added:
rvm use ruby-2.0.0-p451@railstutorial_rails_4_0
to my .rvmrc. ruby-2.0.0-p451 is the version of ruby I installed via the
tutorial. I also removed the similar line from the Gemfile, which is no longer
needed
samwell:sample_app johanhenkens$ git diff Gemfile diff --git a/Gemfile b/Gemfile
index 48c40c3..1d5278f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,5 @@ source
'https://rubygems.org' ruby '2.0.0' -#ruby-gemset=railstutorial_rails_4_0
gem 'rails', '4.0.4' gem 'bootstrap-sass', '2.3.2.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment