Please find the answer as in below ..

*Norbert Melzer  >>* What is RVM Version ?
*Muthu Selvan >>* $ rvm version

*rvm 1.20.13* (stable) by Wayne E. Seguin <[email protected]>, Michal 
Papis <[email protected]> [https://rvm.io/]


*Norbert Melzer  >>* Install rubyXL without sudo
Muthu Selvan  >> gem install rubyXL
Fetching: rubyXL-1.2.10.gem (100%)
Successfully installed rubyXL-1.2.10
1 gem installed

*ERROR :*
*
*
*$ rvm use jruby
*
*Using /Users/mselv2/.rvm/gems/jruby-1.7.4
*
*
*
*
 cucumber features/java.feature 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in
 
`report_activate_error': Could not find RubyGem cucumber (>= 0) 
(Gem::LoadError)
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in
 
`activate'
from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in
 
`gem'
from /usr/bin/cucumber:18

*

Please let me know is it any thing should i do more ?

Thanks ,
Muthu Selvan SR



On Sunday, 30 June 2013 00:01:12 UTC-7, Norbert Melzer wrote:
>
> 2013/6/30 Muthu Selvan <[email protected] <javascript:>>
>
>> *sudo gem install rubyXL* ---------> *EMPTY RESULT *
>>
>
> This line makes me assume, that you use a system ruby and no version 
> manager… 
>
>> *
>> *
>> *So installed rubyXL with the below command ...*
>> *
>> *
>> Fetching: rubyXL-1.2.10.gem (100%)
>> Successfully installed rubyXL-1.2.10
>> 1 gem installed
>>
>> *Ruby version :*
>> *$ which ruby*
>> /Users/mselv2/.rvm/rubies/jruby-1.7.4/bin/ruby
>>
>
> … while this one tells me, that you manage ruby versions with RVM.
>
> You don't need `sudo` when using RVM, please try again installing rubyXL 
> without sudo!
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/8be1ce98-97cb-4668-abb7-1fef7cc227a2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to