rubinius/rubinius — Issue #1376: rbx-master fails to load bson version 1.4.1
Author: ajsharp
Created: 2011-10-27 02:36:30+00:00
State: open

```
→ rbx -v
rubinius 2.0.0dev (1.9.2 47528b31 yyyy-mm-dd JI) [x86_64-apple-darwin11.2.0]

→ bundle exec rspec spec
An exception occurred running at_exit handlers
unknown encoding name - binary (ArgumentError)

Backtrace:
Encoding.find at kernel/common/encoding.rb:49
BSON::BSON_RUBY.__class_init__ (BSON_RUBY) at /Users/ajsharp/.rvm/gems/rbx-head
/gems/bson-1.4.1/lib/../lib/bson
/bson_ruby.rb:57
BSON.__module_init__ (BSON) at /Users/ajsharp/.rvm/gems/rbx-head/gems
/bson-1.4.1/lib/../lib/bson
/bson_ruby.rb:21
Object#__script__ at /Users/ajsharp/.rvm/gems/rbx-head/gems
/bson-1.4.1/lib/../lib/bson
/bson_ruby.rb:19
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:152
Kernel(Object)#require at kernel/common/kernel.rb:672
Object#__script__ at /Users/ajsharp/.rvm/gems/rbx-head/gems
/bson-1.4.1/lib/bson.rb:84
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:152
Kernel(Object)#require at kernel/common/kernel.rb:672
Object#__script__ at /Users/ajsharp/.rvm/gems/rbx-head/gems
/mongo-1.4.1/lib/mongo.rb:54
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:152
Kernel(Object)#require at kernel/common/kernel.rb:672
Object#__script__ at /Users/ajsharp/.rvm/gems/rbx-head
/bundler/gems/aarrr-b589a9061a97/lib
/aarrr.rb:3
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:152
Kernel.require at kernel/common/kernel.rb:672
{ } in Bundler::Runtime#require at /Users/ajsharp/.rvm/gems/rbx-head/gems
/bundler-1.0.21/lib/bundler
/runtime.rb:68
Array#each at kernel/bootstrap/array.rb:66
{ } in Bundler::Runtime#require at /Users/ajsharp/.rvm/gems/rbx-head/gems
/bundler-1.0.21/lib/bundler
/runtime.rb:66
Array#each at kernel/bootstrap/array.rb:66
Bundler::Runtime#require at /Users/ajsharp/.rvm/gems/rbx-head/gems
/bundler-1.0.21/lib/bundler
/runtime.rb:55
Bundler.require at /Users/ajsharp/.rvm/gems/rbx-head/gems
/bundler-1.0.21/lib/bundler.rb:122
Object#__script__ at config/application.rb:9
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:152
Kernel(Object)#require at kernel/common/kernel.rb:672
Object#__script__ at config/environment.rb:2
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:152
Kernel(Object)#require at kernel/common/kernel.rb:672
Object#__script__ at spec/spec_helper.rb:8
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:152
Kernel(Object)#require at kernel/common/kernel.rb:672
Object#__script__ at spec/api/account_api_spec.rb:1
Kernel(RSpec::Core::Configuration)#load at kernel/common/kernel.rb:621
{ } in RSpec::Core::Configuration#load_spec_files at /Users/ajsharp/.rvm/gems
/rbx-head/gems
/rspec-core-2.6.4/lib
/rspec/core
/configuration.rb:419
Array#map at kernel/bootstrap/array19.rb:16
RSpec::Core::Configuration#load_spec_files at /Users/ajsharp/.rvm/gems/rbx-head
/gems/rspec-core-2.6.4/lib/rspec
/core/configuration.rb:419
RSpec::Core::CommandLine#run at /Users/ajsharp/.rvm/gems/rbx-head/gems
/rspec-core-2.6.4/lib/rspec/core
/command_line.rb:18
RSpec::Core::Runner.run_in_process at /Users/ajsharp/.rvm/gems/rbx-head/gems
/rspec-core-2.6.4/lib/rspec/core
/runner.rb:80
RSpec::Core::Runner.run at /Users/ajsharp/.rvm/gems/rbx-head/gems
/rspec-core-2.6.4/lib/rspec/core
/runner.rb:69
{ } in RSpec::Core::Runner.autorun at /Users/ajsharp/.rvm/gems/rbx-head/gems
/rspec-core-2.6.4/lib/rspec/core
/runner.rb:11
Rubinius::Loader#run_at_exits at kernel/loader.rb:659
Rubinius::Loader#epilogue at kernel/loader.rb:679
Rubinius::Loader#main at kernel/loader.rb:809
```