Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 689
Jeff Avatar asked Mar 25 '26 13:03

Jeff


1 Answers

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.

like image 92
Beverly Guillermo Avatar answered Mar 27 '26 03:03

Beverly Guillermo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!