ruby sdk on linux

Hello,

how do I configure a ruby SDK on linux.
I am running Fedora 9 and have ruby installed.
I can execute ruby files using a normal terminal.
e.g. ruby hello.rb
I tried to point the Ruby SDK to /usr/bin which includes a ruby binary.
I tried /usr/bin/ruby
and /usr/lib/ruby

None of those worked.
As workaround I am using a JRuby SDK.

Best Regards

Sebastian

4 comments
Comment actions Permalink

Hello Sebastian,

You should point to ruby interpreter executable when creating new Ruby sdk.
You can run "which ruby" in terminal to find out where ruby has been installed in your system.
These should work. Also ensure it has executable flag on :)

If not, we would like to know if you get some exceptions or just silence etc.

Thanks,
Oleg

0
Comment actions Permalink

Hello,

which returns what I used.
/usr/bin/ruby

my process was
Properties -> Project -> JDK Area -> + to add JDK -> select Ruby JDK
I input and (validated with copy and pasted) /usr/bin/ruby
The dialog closes but the JDK does not appear

Version numbers
idea 7941, Ruby plugin was downloaded today from the plugin manager

Best Regards
Sebastian

0
Comment actions Permalink

Hello Sebastian,

I`ve got it, the problem is that behavour of configuring Ruby SDK differs in plugin for Selena (you are using) and plugins for Diana EAPs.
In your case you should point Ruby SDK folder to /usr.
For more details please visit: http://www.jetbrains.net/confluence/display/RUBYDEV/FAQ

Thaks,
Oleg

0
Comment actions Permalink

solved
Thank you
Best Regards
Sebastian

Edited by: Sebastian on Nov 2, 2008 10:04 PM

0

Please sign in to leave a comment.