Rubymine - setting up a remote SDK?

I can't get the remote SDK to run from my client workstation. He complains that there is no rails installed on the remote SDK.

Here is my environment:

Windows 8 workstation:

  • RubyMine

CentOS 7 Development Server:

  • rvm (Ruby 2.1.2 installed)
  • / opt / learning_stuff (git repo with app there)
  • the package was launched

Several diagnostic commands produce the following 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 the ruby ​​to see the rails setup? Do I need to reset rvm and install from source?

+3


source to share


2 answers


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



+2


source


Not a solution to the real problem, but what I ended up with was just figuring out how to get the application to work with both my local machines and my Linux module. The advantage of this is that my application is now cross-platform, even though I don't need it.



0


source







All Articles