Search code examples
ruby-on-railsrubygitrubymine

Rubymine -- Configuring remote SDK?


I am unable to get a remote SDK to run from my client workstation. It complains that the remote SDK doesn't have rails installed.

Here is my environment:

Windows 8 Workstation:

  • Rubymine

CentOS 7 Development Server:

  • rvm (installed Ruby 2.1.2)
  • /opt/learning_stuff (git repo with app in there)
  • bundle install was ran

A few diagnostic commands yield these results:

# which ruby
/usr/local/rvm/rubies/ruby-2.1.2/bin/ruby
# which rails
/usr/local/rvm/gems/ruby-2.1.2/bin/rails

How do I get rubymine to see the rails installation? Do I need to drop rvm and install from source?


Solution

  • In Rubymine 7.1, I used my gem directory instead of the path to the ruby executable in the "Ruby interpreter path". It found my gems for my project, and performed the sync.