Project
Ruby
Priority
Normal
Type
Usability Problem
Fix versions
No Fix versions
State
Duplicate
Assignee
Oleg Shpynov
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Jonathan Halliday
    5 years ago (21 Jan 2007 17:27)
  • Updated by   Sergey Zhukov
    12 months ago (10 May 2011 12:34)
  • Jira: RUBY-206
    (history, comments)
 
RUBY-206 sdk location difficult on linux
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
On fedora core 6, when using ruby installed via. yum (i.e. the rpm from the fedora updates repository), the ruby binary is at /usr/bin/ruby, whilst the bulk of the ruby files are in /usr/bin/ruby/
During setup of a new Ruby SDK for a rails module in IDEA, the user is prompted for the location of the Ruby SDK. Due to the method used to verify the correctness of the user choice, this is not intuitive. '/usr' is correct in so far as adding '/bin/ruby' locates the interpreter. However, '/usr/bin/ruby/' does not work, as the interpreter binary is not under this path.
The interface should make clearer the intent here, so that the user can select the correct location without resorting to reading the source code for the plugin.

Environment: fedora core 6 x86_64, sun jdk 1.5.0, IDEA 6.0.4, ruby plugin 3365, ruby 1.8.5, rails 1.2.1

Issue was resolved
Comments (2)
 
History
 
Linked Issues (?)
 
Mike Aizatsky
  Mike Aizatsky
22 Jan 2007 01:39
5 years ago
It's already planned for 0.2
Dan Di Spaltro
  Dan Di Spaltro
15 Mar 2007 10:57
5 years ago
Try setting '/usr' as your ruby home, it should work fine as long as it honors the structure. It works for me on Gentoo.