Colin
Please my o/p for rvm info ..when rvm use 1.8.7
*$ rvm use 1.8.7*
Using /Users/mselv2/.rvm/gems/ruby-1.8.7-p371
mselv2m1:Downloads mselv2$ rvm info
ruby-1.8.7-p371:
system:
uname: "Darwin mselv2m1 12.4.0 Darwin Kernel Version 12.4.0: Wed
May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64"
system: "osx/10.8/x86_64"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release
(x86_64-apple-darwin12)"
zsh: "/bin/zsh => zsh 4.3.11 (i386-apple-darwin12.0)"
rvm:
version: "rvm 1.20.13 (stable) by Wayne E. Seguin
<[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]"
updated: "2 days 14 hours 1 minute 28 seconds ago"
ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2012-10-12"
platform: "i686-darwin12.4.0"
patchlevel: "2012-10-12 patchlevel 371"
full_version: "ruby 1.8.7 (2012-10-12 patchlevel 371)
[i686-darwin12.4.0]"
homes:
gem: "/Users/mselv2/.rvm/gems/ruby-1.8.7-p371"
ruby: "/Users/mselv2/.rvm/rubies/ruby-1.8.7-p371"
binaries:
ruby: "/Users/mselv2/.rvm/rubies/ruby-1.8.7-p371/bin/ruby"
irb: "/Users/mselv2/.rvm/rubies/ruby-1.8.7-p371/bin/irb"
gem: "/Users/mselv2/.rvm/rubies/ruby-1.8.7-p371/bin/gem"
rake: "/Users/mselv2/.rvm/gems/ruby-1.8.7-p371@global/bin/rake"
environment:
PATH:
"/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/bin:/Users/mselv2/.rvm/gems/ruby-1.8.7-p371@global/bin:/Users/mselv2/.rvm/rubies/ruby-1.8.7-p371/bin:/Users/mselv2/.rvm/bin:/Users/mselv2/.rbenv/shims:/Users/mselv2/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/adt-bundle-mac-x86_64-20130219/sdk/tools:/Applications/adt-bundle-mac-x86_64-20130219/sdk/platform-tools"
GEM_HOME: "/Users/mselv2/.rvm/gems/ruby-1.8.7-p371"
GEM_PATH:
"/Users/mselv2/.rvm/gems/ruby-1.8.7-p371:/Users/mselv2/.rvm/gems/ruby-1.8.7-p371@global"
MY_RUBY_HOME: "/Users/mselv2/.rvm/rubies/ruby-1.8.7-p371"
IRBRC: "/Users/mselv2/.rvm/rubies/ruby-1.8.7-p371/.irbrc"
RUBYOPT: ""
gemset: ""
*=======================*
*
*
*
mselv2m1:Downloads mselv2$ rvm use 1.9.2
Using /Users/mselv2/.rvm/gems/ruby-1.9.2-p320
mselv2m1:Downloads mselv2$ rvm info
ruby-1.9.2-p320:
system:
uname: "Darwin mselv2m1 12.4.0 Darwin Kernel Version 12.4.0: Wed
May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64"
system: "osx/10.8/x86_64"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release
(x86_64-apple-darwin12)"
zsh: "/bin/zsh => zsh 4.3.11 (i386-apple-darwin12.0)"
rvm:
version: "rvm 1.20.13 (stable) by Wayne E. Seguin
<[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]"
updated: "2 days 14 hours 4 minutes 8 seconds ago"
ruby:
interpreter: "ruby"
version: "1.9.2p320"
date: "2012-04-20"
platform: "x86_64-darwin12.4.0"
patchlevel: "2012-04-20"
full_version: "ruby 1.9.2p320 (2012-04-20) [x86_64-darwin12.4.0]"
homes:
gem: "/Users/mselv2/.rvm/gems/ruby-1.9.2-p320"
ruby: "/Users/mselv2/.rvm/rubies/ruby-1.9.2-p320"
binaries:
ruby: "/Users/mselv2/.rvm/rubies/ruby-1.9.2-p320/bin/ruby"
irb: "/Users/mselv2/.rvm/rubies/ruby-1.9.2-p320/bin/irb"
gem: "/Users/mselv2/.rvm/rubies/ruby-1.9.2-p320/bin/gem"
rake: "/Users/mselv2/.rvm/gems/ruby-1.9.2-p320@global/bin/rake"
environment:
PATH:
"/Users/mselv2/.rvm/gems/ruby-1.9.2-p320/bin:/Users/mselv2/.rvm/gems/ruby-1.9.2-p320@global/bin:/Users/mselv2/.rvm/rubies/ruby-1.9.2-p320/bin:/Users/mselv2/.rvm/bin:/Users/mselv2/.rbenv/shims:/Users/mselv2/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/adt-bundle-mac-x86_64-20130219/sdk/tools:/Applications/adt-bundle-mac-x86_64-20130219/sdk/platform-tools"
GEM_HOME: "/Users/mselv2/.rvm/gems/ruby-1.9.2-p320"
GEM_PATH:
"/Users/mselv2/.rvm/gems/ruby-1.9.2-p320:/Users/mselv2/.rvm/gems/ruby-1.9.2-p320@global"
MY_RUBY_HOME: "/Users/mselv2/.rvm/rubies/ruby-1.9.2-p320"
IRBRC: "/Users/mselv2/.rvm/rubies/ruby-1.9.2-p320/.irbrc"
RUBYOPT: ""
gemset: ""
*
*
*
*
*
On Thursday, 20 June 2013 00:02:45 UTC-7, Colin Law wrote:
>
> On 19 June 2013 22:09, Muthu Selvan <[email protected] <javascript:>>
> wrote:
> >
> > Hi All ,
> >
> > Installed ruby 1.9.2 , if i use rvm use command its showing using ruby
> 1.9.2
> > only but in my gem environment ( GEM PATHS) is not showing ..
> >
> >
> >
> > $ rvm use 1.9.2
> > Using /Users/mselv2/.rvm/gems/ruby-1.9.2-p320
> >
> > mselv2m1:nikeplus-running-ios mselv2$ gem environment
> > RubyGems Environment:
> > - RUBYGEMS VERSION: 1.8.25
> > - RUBY VERSION: 1.8.7 (2012-10-12 patchlevel 371) [i686-darwin12.4.0]
>
> I notice that you have changed directory between the rvm use command
> and the gem environment command. What happens if you say rvm use
> immediately before gem environment? Also what do you get for
> rvm info
>
> Colin
>
> > - INSTALLATION DIRECTORY: /Users/mselv2/.rvm/gems/ruby-1.8.7-p371
> > - RUBY EXECUTABLE: /Users/mselv2/.rvm/rubies/ruby-1.8.7-p371/bin/ruby
> > - EXECUTABLE DIRECTORY: /Users/mselv2/.rvm/gems/ruby-1.8.7-p371/bin
> > - RUBYGEMS PLATFORMS:
> > - ruby
> > - x86-darwin-12
> > - GEM PATHS:
> > - /Users/mselv2/.rvm/gems/ruby-1.8.7-p371
> > - /Users/mselv2/.rvm/gems/ruby-1.8.7-p371@global
> > - GEM CONFIGURATION:
> > - :update_sources => true
> > - :verbose => true
> > - :benchmark => false
> > - :backtrace => false
> > - :bulk_threshold => 1000
> > - "gem" => "--no-rdoc --no-ri"
> > - REMOTE SOURCES:
> > - http://rubygems.org/
> >
> >
> > Because of this , cucumber is not working and getting below error when
> i
> > use rvm 1.9.2
> >
> >
> /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 help to solve this issue ..
> >
> > Thanks ,
> > Muthu Selvan SR
> >
> > --
> > 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] <javascript:>.
> > To post to this group, send email to
> > [email protected]<javascript:>.
>
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/rubyonrails-talk/a2cbc5dc-976e-4580-a7e7-fe972ab87482%40googlegroups.com.
>
>
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
--
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/129e6bd4-bb02-48a3-8f53-08bf5e8fbfcc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.