Skip to content

Instantly share code, notes, and snippets.

@jfirebaugh
Created March 22, 2012 19:30
Show Gist options
  • Select an option

  • Save jfirebaugh/2162471 to your computer and use it in GitHub Desktop.

Select an option

Save jfirebaugh/2162471 to your computer and use it in GitHub Desktop.
~/Development/rubinius ☃〠 ruby -v
rubinius 2.0.0dev (1.8.7 c35e7f67 yyyy-mm-dd JI) [x86_64-apple-darwin11.3.0]
~/Development/rubinius ☃〠 gem -X19 install json
Fetching: json-1.6.5.gem (100%)
Building native extensions. This could take a while...
Successfully installed json-1.6.5
1 gem installed
~/Development/rubinius ☃〠 ruby -rubygems -rjson
An exception occurred requiring command line files
undefined class or module Encoding (ArgumentError)
Backtrace:
Rubinius::NativeMethod.load_extension at kernel/common/native_method.rb:45
Rubinius::CodeLoader#load_library at kernel/delta/codeloader.rb:183
Rubinius::CodeLoader#require at kernel/common/codeloader.rb:126
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:201
Kernel(Module)#gem_original_require (require) at kernel/common/kernel.rb:627
Kernel(Module)#require at /Users/john/.rvm/rubies/rbx-head/lib
/rubygems/custom_require.rb:36
JSON::Ext.__module_init__ (Ext) at /Users/john/.rvm/gems/rbx-head/gems
/json-1.6.5/lib/json/ext.rb:13
JSON.__module_init__ (JSON) at /Users/john/.rvm/gems/rbx-head/gems
/json-1.6.5/lib/json/ext.rb:12
Object#__script__ at /Users/john/.rvm/gems/rbx-head/gems
/json-1.6.5/lib/json/ext.rb:9
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:207
Kernel(Module)#gem_original_require (require) at kernel/common/kernel.rb:627
Kernel(Module)#require at /Users/john/.rvm/rubies/rbx-head/lib
/rubygems/custom_require.rb:36
JSON.__module_init__ (JSON) at /Users/john/.rvm/gems/rbx-head/gems
/json-1.6.5/lib/json.rb:58
Object#__script__ at /Users/john/.rvm/gems/rbx-head/gems
/json-1.6.5/lib/json.rb:54
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:207
Kernel(Rubinius::Loader)#gem_original_require (require) at kernel/common/kernel.rb:627
Kernel(Rubinius::Loader)#require at /Users/john/.rvm/rubies/rbx-head/lib
/rubygems/custom_require.rb:59
{ } in Rubinius::Loader#requires at kernel/loader.rb:585
Array#each at kernel/bootstrap/array.rb:68
Rubinius::Loader#requires at kernel/loader.rb:585
Rubinius::Loader#main at kernel/loader.rb:834
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment