Created
October 11, 2013 01:10
-
-
Save kungfumike/6928141 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mike@ehii:~$ /home/mike/.rubies/rbx-head/bin/rbx | |
irb(main):001:0> begin; require 'rubygems'; rescue LoadError; end | |
=> false | |
irb(main):002:0> puts "export RUBY_ENGINE=#{defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'};" | |
export RUBY_ENGINE=rbx; | |
=> nil | |
irb(main):003:0> puts "export RUBY_VERSION=#{RUBY_VERSION};" | |
export RUBY_VERSION=2.1.0; | |
=> nil | |
irb(main):004:0> puts "export GEM_ROOT=#{Gem.default_dir.inspect};" if defined?(Gem) | |
export GEM_ROOT="/home/mike/.rubies/rbx-head/gems"; | |
=> nil | |
irb(main):005:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment