Skip to content

Instantly share code, notes, and snippets.

@IanVaughan
Created May 23, 2012 09:21
Show Gist options
  • Select an option

  • Save IanVaughan/2774189 to your computer and use it in GitHub Desktop.

Select an option

Save IanVaughan/2774189 to your computer and use it in GitHub Desktop.
$ ruby -v
ruby 1.8.7 (2011-12-28 MBARI 8/0x6770 on patchlevel 357) [i686-darwin11.3.0], MBARI 0x6770, Ruby Enterprise Edition 2012.01
$ rails -h
/Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
from /Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support.rb:57:in `require'
from /Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support.rb:57
from /Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/rails_generator.rb:31:in `require'
from /Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/rails_generator.rb:31
from /Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/gems/rails-2.3.8/bin/rails:15:in `require'
from /Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/gems/rails-2.3.8/bin/rails:15
from /Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/bin/rails:19:in `load'
from /Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/bin/rails:19
$ gem -v
1.6.2
$ rails -v
Rails 2.3.8
$ gem update --system
Updating rubygems-update
Fetching: rubygems-update-1.8.24.gem (100%)
Successfully installed rubygems-update-1.8.24
Installing RubyGems 1.8.24
RubyGems 1.8.24 installed
== 1.8.24 / 2012-04-27
$ gem -v
1.8.24
$ rails -h
/Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
$ gem update --system 1.4.2
Updating rubygems-update
Fetching: rubygems-update-1.4.2.gem (100%)
Successfully installed rubygems-update-1.4.2
Installing RubyGems 1.4.2
RubyGems 1.4.2 installed
=== 1.4.2 / 2011-01-06
$ rails -h
Usage: /Users/ivaughan/.rbenv/versions/ree-1.8.7-2012.01/lib/ruby/gems/1.8/bin/rails /path/to/your/app [options]
Options:
-r, --ruby=path Path to the Ruby binary of your choice (otherwise scripts use env, dispatchers current path).
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment