I’m trying to put together some rake tasks to run my specs, but
require ‘spec/rake/spectask’ complains “no such file”. I’ve gem
installed rspec on my Ubuntu box and looks like it’s locate in
/var/lib/gems/1.8/gems/rspec-1.1.4/, which is not in load path
D:\Users\Luis>irb
irb(main):001:0> puts $LOAD_PATH
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-120/lib/ruby/site_ruby/1.8
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-120/lib/ruby/site_ruby/1.8/i386-msvcrt
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-120/lib/ruby/site_ruby
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-120/lib/ruby/1.8
D:/Users/Luis/ruby/ruby-186-p114-MINGW-rubygems-120/lib/ruby/1.8/i386-mingw32
.
=> nil
irb(main):002:0> require ‘spec/rake/spectask’
LoadError: no such file to load – spec/rake/spectask
from (irb):2:in `require’
from (irb):2
irb(main):003:0> require ‘rubygems’
=> true
irb(main):004:0> require ‘spec/rake/spectask’
=> true
Maybe just a stupid comment, if so, please disregard it.
Luis L.
AREA 17
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
Sorry, I’m not a native english speaker, that means it worked?
–
Luis L.
AREA 17
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams