RubyMine 6.0.3 is installed on my Mac.
I've got a Vagrant (Ubuntu) machine that can happily run my Rails app. Now, I'm trying to set up a fresh install of RubyMine to debug my Rails app on the Vagrant VM.
The remote SDK appears to be configured correctly inside of Rubymine. I added it (127.0.0.1, port 2222), and Rubymine detected that the version of Ruby is 2.1.0:
However, the gems list is empty. It says "nothing to show". Is that expected?
Other local rubies show their gems correctly.
A few random details:
The VM is using Puma based on Rubinius. Rubinius is installed here:
The Vagrant box is not using RVM or rbenv. I am just chruby, which is a lighter-weight way to switch rubies.
I use foreman to start Puma. Here's the procfile:
web: bundle exec puma -S ~/puma -C config/puma.rb
I'm purposefully ignoring some prompts to install missing gems since the gems are all installed remotely. I don't want to end up in a situation where i think everything is fine, but it's just because the gems are locally installed.
Do I need to install any gems locally to get this to work?
After I install the remote ruby SDK, it says "downloading gems", and appears to download some gems like "rake" and "ri".
Here's the "gem env" output when run in the VM:
> gem env
- RUBYGEMS VERSION: 2.2.1
- RUBY VERSION: 2.1.0 (2014-01-30 patchlevel 0) [x86_64-linux-gnu]
- INSTALLATION DIRECTORY: /home/vagrant/.gem/rbx/2.1.0
- RUBY EXECUTABLE: /opt/rubies/rubinius-2.2.3/bin/rbx
- EXECUTABLE DIRECTORY: /home/vagrant/.gem/rbx/2.1.0/bin
- SPEC CACHE DIRECTORY: /home/vagrant/.gem/specs
- RUBYGEMS PLATFORMS:
- GEM PATHS:
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- SHELL PATH: