EAP 96.1085 doesn't detect system wide rvm installation

Hi everyone,

I have trouble getting RubyMine to work with my system wide installation of RVM.
RVM itselft is located under /usr/local/rvm.
If I start the IDE it won't detect any of my installed versions.

Here my details of my rvm info:
  rvm:
    version:      "rvm 1.0.1 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]"


  ruby:
    interpreter:  "ruby
Ruby"
    version:      "1.8.6
Enterprise"
    date:         "2008-08-11
Ruby Enterprise Edition 20090610"
    platform:     "i686-darwin10.4.0
Ruby Enterprise Edition 20090610"
    patchlevel:   "2008-08-11 patchlevel 287
Ruby Enterprise Edition 20090610"
    full_version: "ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-darwin10.4.0]
Ruby Enterprise Edition 20090610"


  homes:
    gem:          "/usr/local/rvm/gems/ree-1.8.6-p20090610@production"
    ruby:         "/usr/local/rvm/rubies/ree-1.8.6-p20090610"


  binaries:
    ruby:         "/usr/local/rvm/rubies/ree-1.8.6-p20090610/bin/ruby"
    irb:          "/usr/local/rvm/rubies/ree-1.8.6-p20090610/bin/irb"
    gem:          "/usr/local/rvm/rubies/ree-1.8.6-p20090610/bin/gem"
    rake:         "/usr/local/rvm/gems/ree-1.8.6-p20090610@production/bin/rake"


  environment:
    PATH:         "/opt/local/bin:/opt/local/sbin:/usr/local/rvm/gems/ree-1.8.6-p20090610@production/bin:/usr/local/rvm/gems/ree-1.8.6-p20090610@global/bin:/usr/local/rvm/rubies/ree-1.8.6-p20090610/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/mysql/bin:/usr/X11/bin"
    GEM_HOME:     "/usr/local/rvm/gems/ree-1.8.6-p20090610@production"
    GEM_PATH:     "/usr/local/rvm/gems/ree-1.8.6-p20090610@production:/usr/local/rvm/gems/ree-1.8.6-p20090610@global"
    BUNDLE_PATH:  "/usr/local/rvm/gems/ree-1.8.6-p20090610@production"
    MY_RUBY_HOME: "/usr/local/rvm/rubies/ree-1.8.6-p20090610"
    IRBRC:        "/usr/local/rvm/rubies/ree-1.8.6-p20090610/.irbrc"
    RUBYOPT:      ""
    gemset:       "production"




What to do?

Thanks,
Joe

3 comments

RubyMine doesn't support system wide rvm installation. As a workaround try to create a symlink ~/.rvm which points on your /usr/local/rvm directory. If you want to install/update gems using RubyMine gem manager UI you need to check that your user has write permissions for /usr/local/rvm directory

0

The symlink didn't work. I tired that earlier. Still no installed ruby versions detected.

Are there any plans to support a custom RVM home path?

0

Please sign in to leave a comment.