We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Jeans K. Real • 8 years ago

Gems added via github are not recognized by Rubymine using rbevn.
gem 'activeadmin', github: 'activeadmin'

Olga Kuvardina • 8 years ago

Hello! What RubyMine version do you use? What happens if you launch Tools | Bundler | Install?

Jeans K. Real • 8 years ago

RubyMine 8.0.3

Running bundler in that way install everything without problems then index all but is still missing the gems added via github

Olga Kuvardina • 8 years ago

Unfortunately I didn't manage to reproduce it. Would it be possible for you to do the following:

- remove this SDK from the RubySDK and Gems list;
- Use File | Invalidate Cache / Restart… (just invalidate );
- close the project and RubyMine;
- reopen RubyMine, wait until the SDK is configured or add it manually

Check also the list of gems on Ruby SDK and Gems page in Settings.

Aarti Parikh • 8 years ago

This worked for me on my mac -> `ln -s /usr/local/var/rbenv ~/.rbenv`

Olga Kuvardina • 8 years ago

We have a corresponding request on our tracker regarding improving work with rbenv installed in a location other than ~./rbenv, feel free to vote and follow it: https://youtrack.jetbrains....

Gavin Terrill • 9 years ago

I've had issues where RubyMine doesn't recognize all the gems for a given rbenv ruby. I've found that going into preferences and a) removing the SDK, b) adding again and c) clicking reset will result in it finding all the gems. It must be some indexing issue.

Anna Kutarba • 9 years ago

Feel free to contact support@jetbrains.com if the problem is reproduced.

Christian Lallemand • 10 years ago

Can we get an update for issue => http://youtrack.jetbrains.c...

anna.kutarba • 10 years ago

Hello Christian, sorry for delay. Unfortunately we still don't have plans to support rbenv-gemsets, I suggest to use rvm instead of rbenv.

baTonkaTruck • 8 years ago

how hard is it to point an SDK to a different directory? seriously. less engineering, more common sense, this is ridiculous.

Olga Kuvardina • 8 years ago

We don't have any particular plans regarding the implementation of this feature but please consider following its state on our tracker.

Will Sulzer • 8 years ago

I would also like to +1 the request for support of rbenv-gemsets. This would be a very useful feature. Many Thanks.

anna.kutarba • 10 years ago

Please submit issues to our bug tracker http://youtrack.jetbrains.c...

Abdi Hassan • 10 years ago

It seems this is broken. RubyMine does not detect any of the rbenv-installed interpreters.

Chris Sargeant • 10 years ago

Note: rubymine only scans ~/.rbenv so anything outside of that directory will not be used i.e. /usr/local/opt/rbenv

Hasán Faruq • 9 years ago

This should perhaps be enabled? I imagine it takes quite little work to enable RubyMine to scan /usr/local/opt/rbenv - given that it is the default homebrew installation dir, it should definitely be considered.

imegorskaya • 9 years ago

Could you please ask this question in the forum?

eibhinn • 9 years ago

I couldn't find another mention of this on the forum so I've asked it. http://devnet.jetbrains.com...

Pavel Argentov • 10 years ago

I use local rbenv and remote ones in numerous Vagrant boxes. My project has .ruby-version file which, AFAIK, forces RubyMine to think that I use local rbenv despite the project’s SDK setting. Is there a way for RubyMine to prefer project’s SDK setting over the .ruby-version’s?

Sincerely.

anna.kutarba • 10 years ago

Pavel, sorry for delay with answer. It's not possible now.

Joe • 10 years ago

Version 0.4.0 has been the current version of rbenv since January 4, 2013. This article says that rbenv is supported only up to v 0.3.0. Does this document need to be updated regarding the newer version or is support broken with v0.4.0 of rbenv, and if so, why and when will this be fix and support restored?

imegorskaya • 10 years ago

Yes, it is supported. Documentation should be updated. Thank you.

Daya Sharma • 10 years ago

I am not able to use RubyMine 5.4.2 after starting RubyMine I get stuck at the window "Scanning for Ruby Interpreters ...." following is the output from by rbenv

macbookpro: [master]! $ rbenv versions
system
1.9.2-p290
1.9.3-p125
* 1.9.3-p194 (set by /Users/dayas/RubyProjects/CloudBees/GC/.rbenv-version)
1.9.3-p392
2.0.0-rc2

Anna Kutarba • 10 years ago

Daya, unfortunately is hard to understand without logs what exactly happen. Please file the ticket to our Bug Tracker and attach the idea.log (Help| Show Log in Finder). Also some steps to reproduce, what versions of the OS and rbenv do you use will be helpful.

Jason Rist • 11 years ago

Yeah, what cowboyd said - this doesn't seem to work, at all. Only picking up the system's ruby.

anna.kutarba • 11 years ago

Hi, Jason, I cannot reproduce the problem. Please try to update rbenv until 0.4.0 and configure SDK once again. If not, please file a ticket to our bug tracker http://youtrack.jetbrains.c...

cowboyd • 11 years ago

After switching to rbenv 0.3.0, removing all traces of rvm and restarting RubyMine 4.5.4, this did not work.

I was able to workaround by manually adding ~/.rbenv/versions/1.9.3-p194/bin/ruby in the SDK preferences.