We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
Hello! What RubyMine version do you use? What happens if you launch Tools | Bundler | Install?
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
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.
This worked for me on my mac -> `ln -s /usr/local/var/rbenv ~/.rbenv`
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....
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.
Feel free to contact support@jetbrains.com if the problem is reproduced.
Can we get an update for issue => http://youtrack.jetbrains.c...
Hello Christian, sorry for delay. Unfortunately we still don't have plans to support rbenv-gemsets, I suggest to use rvm instead of rbenv.
how hard is it to point an SDK to a different directory? seriously. less engineering, more common sense, this is ridiculous.
We don't have any particular plans regarding the implementation of this feature but please consider following its state on our tracker.
I would also like to +1 the request for support of rbenv-gemsets. This would be a very useful feature. Many Thanks.
Please submit issues to our bug tracker http://youtrack.jetbrains.c...
It seems this is broken. RubyMine does not detect any of the rbenv-installed interpreters.
Note: rubymine only scans ~/.rbenv so anything outside of that directory will not be used i.e. /usr/local/opt/rbenv
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.
Could you please ask this question in the forum?
I couldn't find another mention of this on the forum so I've asked it. http://devnet.jetbrains.com...
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.
Pavel, sorry for delay with answer. It's not possible now.
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?
Yes, it is supported. Documentation should be updated. Thank you.
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
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.
Yeah, what cowboyd said - this doesn't seem to work, at all. Only picking up the system's ruby.
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...
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.
Gems added via github are not recognized by Rubymine using rbevn.
gem 'activeadmin', github: 'activeadmin'