mkdir test_rubysl && cd test_rubysl
echo "source 'https://rubygems.org/'" > Gemfile
bundle install
echo "p require 'bigdecimal'" > test.rb
bundle exec ruby test.rb
true
An exception occurred running test.rb: (LoadError) The library "bigdecimal" is a provided by the "rubysl-bigdecimal" gem and needs to be installed to be loaded. If using Bundler, add this library or the standard library meta-gem to the Gemfile as follows: gem "rubysl-bigdecimal", "~> 2.0" OR gem "rubysl", "~> 2.0" Otherwise, install the gem with the following command: gem install rubysl-bigdecimal OR gem install rubysl If the "rubysl-bigdecimal" gem should be installed, ensure that the GEM_HOME or GEM_PATH environment variables are either not set or set correctly to the directories containing Rubinius gems. If these instructions do not help resolve the issue, please open a ticket at: https://github.com/rubinius/rubinius/issues The source code for "rubysl-bigdecimal" is on GitHub: https://github.com/rubysl/rubysl-bigdecimal Backtrace: Rubinius::CodeLoader.missing_standard_library at kernel/delta/code_loader.rb:130 Object#__script__ at /home/hal/.rubies/rubinius-2.0.0/lib /bigdecimal.rb:4 Rubinius::CodeLoader.require at kernel/common/code_loader.rb:243 Kernel(Object)#require at kernel/common/kernel.rb:685 Object#__script__ at test.rb:1 Rubinius::CodeLoader#load_script at kernel/delta/code_loader.rb:66 Rubinius::CodeLoader.load_script at kernel/delta/code_loader.rb:182 Rubinius::Loader#script at kernel/loader.rb:641 Rubinius::Loader#main at kernel/loader.rb:822 Caused by: no such file to load -- rubysl/bigdecimal (LoadError) Backtrace: Rubinius::CodeLoader#load_error at kernel/common/code_loader.rb:436 Rubinius::CodeLoader#resolve_require_path at kernel/common/code_loader.rb:423 { } in Rubinius::CodeLoader#require at kernel/common/code_loader.rb:103 Rubinius.synchronize at kernel/bootstrap/rubinius.rb:137 Rubinius::CodeLoader#require at kernel/common/code_loader.rb:102 Rubinius::CodeLoader.require at kernel/common/code_loader.rb:237 Kernel(Object)#require at kernel/common/kernel.rb:685 Object#__script__ at /home/hal/.rubies/rubinius-2.0.0/lib /bigdecimal.rb:2 Rubinius::CodeLoader.require at kernel/common/code_loader.rb:243 Kernel(Object)#require at kernel/common/kernel.rb:685 Object#__script__ at test.rb:1 Rubinius::CodeLoader#load_script at kernel/delta/code_loader.rb:66 Rubinius::CodeLoader.load_script at kernel/delta/code_loader.rb:182 Rubinius::Loader#script at kernel/loader.rb:641 Rubinius::Loader#main at kernel/loader.rb:822
Tested against:
- rubinius 2.0.0 (2.1.0 2013-10-04 JI) [x86_64-linux-gnu] (failed)
- rubinius 2.0.0n275 (2.1.0 3f497e0b 2013-10-02 JI) [x86_64-linux-gnu] (failed)
- ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] (passed)