Skip to content

Instantly share code, notes, and snippets.

@mustmodify
Last active September 14, 2015 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mustmodify/bf932f892f9b7617d54a to your computer and use it in GitHub Desktop.
Save mustmodify/bf932f892f9b7617d54a to your computer and use it in GitHub Desktop.
jw@logopolis:/projects/name/wwwchruby
rbx-2.5.1
rbx-2.5.2
rbx-2.5.7
rbx-2.5.8
ruby-1.9.3-p448
ruby-2.1.3
ruby-2.1.6
ruby-2.2.2
* ruby-2.2.3
jw@logopolis:/projects/name/www$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
jw@logopolis:/projects/name/www$ which ruby
/opt/rubies/ruby-2.2.3/bin/ruby
jw@logopolis:/projects/name/www$ which bundle
/home/jw/.gem/ruby/2.2.3/bin/bundle
jw@logopolis:/projects/name/www$ bundle
Your Ruby version is 1.9.3, but your Gemfile specified 2.2.3
jw@logopolis:/projects/name/www$ gem install bundler
Successfully installed bundler-1.10.6
Parsing documentation for bundler-1.10.6
Done installing documentation for bundler after 3 seconds
1 gem installed
jw@logopolis:/projects/name/www$ gem install bundler
Successfully installed bundler-1.10.6
Parsing documentation for bundler-1.10.6
Done installing documentation for bundler after 3 seconds
1 gem installed
jw@logopolis:/projects/name/www$ which -a bundle
/home/jw/.gem/ruby/2.2.3/bin/bundle
/usr/local/bin/bundle
jw@logopolis:/projects/name/www$ which -a ruby
/opt/rubies/ruby-2.2.3/bin/ruby
/usr/bin/ruby
jw@logopolis:/projects/name/www$ which -a gem
/opt/rubies/ruby-2.2.3/bin/gem
/usr/bin/gem
jw@logopolis:/projects/name/www$ echo $PATH
/home/jw/.gem/ruby/2.2.3/bin:/opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/bin:/opt/rubies/ruby-2.2.3/bin:/usr/local/heroku/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
jw@logopolis:/projects/name/www$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 2.4.5.1
- RUBY VERSION: 2.2.3 (2015-08-18 patchlevel 173) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/jw/.gem/ruby/2.2.3
- RUBY EXECUTABLE: /opt/rubies/ruby-2.2.3/bin/ruby
- EXECUTABLE DIRECTORY: /home/jw/.gem/ruby/2.2.3/bin
- SPEC CACHE DIRECTORY: /home/jw/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /opt/rubies/ruby-2.2.3/etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/jw/.gem/ruby/2.2.3
- /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /home/jw/.gem/ruby/2.2.3/bin
- /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/bin
- /opt/rubies/ruby-2.2.3/bin
- /usr/local/heroku/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
jw@logopolis:/projects/name/www$ bundle exec ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment