Skip to content

Instantly share code, notes, and snippets.

@rubys
Created March 22, 2013 20:06
Show Gist options
  • Save rubys/5224349 to your computer and use it in GitHub Desktop.
Save rubys/5224349 to your computer and use it in GitHub Desktop.
$ rvm ruby-head-n39832
$ gem list mysql2
*** LOCAL GEMS ***
mysql2 (0.3.11)
$ ruby -r mysql2 -e 0
$
$ rvm ruby-head-n39842
$ gem list mysql2
*** LOCAL GEMS ***
mysql2 (0.3.11)
$ ruby -r mysql2 -e 0
/home/rubys/.rvm/rubies/ruby-head-n39842/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb:36:in `require': cannot load such file -- mysql2/mysql2 (LoadError)
from /home/rubys/.rvm/rubies/ruby-head-n39842/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb:36:in `require'
from /home/rubys/.rvm/gems/ruby-head-n39842/gems/mysql2-0.3.11/lib/mysql2.rb:9:in `<top (required)>'
from /home/rubys/.rvm/rubies/ruby-head-n39842/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb:60:in `require'
from /home/rubys/.rvm/rubies/ruby-head-n39842/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb:60:in `rescue in require'
from /home/rubys/.rvm/rubies/ruby-head-n39842/lib/ruby/site_ruby/2.1.0/rubygems/custom_require.rb:35:in `require'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment