Project
Ruby
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Obsolete
Assignee
Roman Chernyatchik
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Brian Takita
    4 years ago (17 Nov 2007 11:39)
  • Updated by   Dennis Ushakov
    13 months ago (27 Dec 2010 21:07)
  • Jira: RUBY-1181
    (history, comments)
 
RUBY-1181 You use alternative SDK without installed RSpec Gem on Ubuntu Ruby installed throught apt
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Ubuntu's ruby is installed in
/usr/lib/ruby

and gems is installed
/var/lib/gems

The ruby plugin does not seem to recognize where the rspec gem is located. I was able to us the custom location, but this is an issue.

Environment: Ubuntu 7.10, idea 7.0.1
Comments (8)
 
History
 
Linked Issues (?)
 
Roman Chernyatchik
  Roman Chernyatchik
17 Nov 2007 13:11
4 years ago
And where is "spec" script located?
Roman Chernyatchik
  Roman Chernyatchik
17 Nov 2007 13:18
4 years ago
Plugin expects that "spec" script is located in "bin" folder of your Ruby SDK. Thus if "ruby" is installed in
/usr/bin/ plugin will look for "spec" script in /usr/bin/
Brian Takita
  Brian Takita
17 Nov 2007 13:26
4 years ago
Ubuntu puts spec in:
/var/lib/gems/1.8/bin/spec

Maybe this is an Ubuntu specific gotcha. Good thing there is the custom spec location :)
Roman Chernyatchik
  Roman Chernyatchik
17 Nov 2007 14:35
4 years ago
1. We've just installed spec on Ubuntu 7.10 with default configurations. And gem manager install "spec" script in /usr/bin.
How did you install your gems? Did you use default configuration?

2. Where 'gem' script is located? In /usr/bin ?
3. Please run command 'gem environment"
Dmitry Kandalov
  Dmitry Kandalov
22 Jul 2008 23:24
3 years ago
The same problem in Ubuntu 8.04.

$ whereis gem
gem: /usr/bin/gem /usr/share/man/man1/gem.1.gz

$ gem environment
RubyGems Environment:
- VERSION: 0.9.4 (0.9.4)
- INSTALLATION DIRECTORY: /var/lib/gems/1.8
- GEM PATH:
- /var/lib/gems/1.8
- REMOTE SOURCES:
- http://gems.rubyforge.org
Roman Chernyatchik
  Roman Chernyatchik
22 Jul 2008 23:31
3 years ago
Dmitry,
Where are located "spec" and "rails" exectable scripts? In "/var/lib/gems/1.8/bin/" ?
Roman Chernyatchik
  Roman Chernyatchik
22 Jul 2008 23:33
3 years ago
Also please tell me the value of "Gems bin directory" field in ruby sdk settings ([Settings]->[Project Settings]->[JDKs]-> your ruby sdk)
Roman Chernyatchik
  Roman Chernyatchik
11 Dec 2008 16:32
3 years ago
is the problem still actual for RubyMine-500 ?