1
votes

I'm using jRuby at the moment (version 1.6.5) on my local machine.

rvm use jruby

If I do a

which cucumber

I get /Users/sebastiano/.rvm/gems/jruby-1.6.5.1/bin/cucumber

but when I open up the Ruby console (irb) and I try requiring 'cucumber'

require 'cucumber'

I get :

LoadError: no such file to load -- cucumber

Any clue on that? I can see the gem installed in '/Users/sebastiano/.rvm/gems/jruby-1.6.5.1/gems'

Thanks

1

1 Answers

1
votes

Actually I got it..I had to do a

require 'rubygems' as first instruction

Cheers