More 1.9.3 fun

Bohuslav Kabrda bkabrda at redhat.com
Fri Jan 20 06:46:01 UTC 2012


Hi Michael,
this is caused by the fact that we unbundled the bigdecimal gem from ruby-libs and it now ships as a separate gem. If you need to use it, you have to add it to your Gemfile and install it via yum as any other Gem. Ruby developers will probably be gemifying the standard library in next releases [1] and this is the first step.

Bohuslav.

[1] http://bugs.ruby-lang.org/issues/5481

----- Original Message -----
> I'm now onto another load issue.
> 
> root at centos6-32 /srv/gitlabhq [master]> bundle console
> /usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require': cannot load such file -- bigdecimal (LoadError)
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `block in require'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `block in load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in
> `new_constants_in'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> 	from
> 	/usr/local/share/gems/gems/arel-2.2.1/lib/arel/visitors/to_sql.rb:1:in
> `<top (required)>'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `block in require'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `block in load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in
> `new_constants_in'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> 	from /usr/local/share/gems/gems/arel-2.2.1/lib/arel/visitors.rb:3:in
> `<top (required)>'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `block in require'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `block in load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in
> `new_constants_in'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> 	from /usr/local/share/gems/gems/arel-2.2.1/lib/arel.rb:19:in `<top
> 	(required)>'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `block in require'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `block in load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in
> `new_constants_in'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> 	from
> 	/usr/local/share/gems/gems/activerecord-3.1.1/lib/active_record.rb:27:in
> `<top (required)>'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `block in require'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `block in load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in
> `new_constants_in'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in
> `load_dependency'
> 	from
> 	/usr/local/share/gems/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in
> `require'
> 	from /usr/local/share/gems/gems/seed-fu-2.1.0/lib/seed-fu.rb:1:in
> `<top (required)>'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in
> `require'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in
> `block (2 levels) in require'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in
> `each'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in
> `block in require'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in
> `each'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in
> `require'
> 	from /usr/local/share/gems/gems/bundler-1.0.21/lib/bundler.rb:122:in
> 	`require'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/cli.rb:430:in
> `console'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/vendor/thor/task.rb:22:in
> `run'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/vendor/thor/invocation.rb:118:in
> `invoke_task'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/vendor/thor.rb:263:in
> `dispatch'
> 	from
> 	/usr/local/share/gems/gems/bundler-1.0.21/lib/bundler/vendor/thor/base.rb:386:in
> `start'
> 	from /usr/local/share/gems/gems/bundler-1.0.21/bin/bundle:13:in
> 	`<top
> (required)>'
> 	from /usr/local/bin/bundle:19:in `load'
> 	from /usr/local/bin/bundle:19:in `<main>'
> 
> 
> 
> root at centos6-32 /srv/gitlabhq [master]> locate bigdecimal
> /usr/lib/gems/exts/bigdecimal-1.1.0
> /usr/lib/gems/exts/bigdecimal-1.1.0/lib
> /usr/lib/gems/exts/bigdecimal-1.1.0/lib/bigdecimal.so
> /usr/share/gems/gems/bigdecimal-1.1.0
> /usr/share/gems/gems/bigdecimal-1.1.0/lib
> /usr/share/gems/gems/bigdecimal-1.1.0/lib/bigdecimal
> /usr/share/gems/gems/bigdecimal-1.1.0/lib/bigdecimal/jacobian.rb
> /usr/share/gems/gems/bigdecimal-1.1.0/lib/bigdecimal/ludcmp.rb
> /usr/share/gems/gems/bigdecimal-1.1.0/lib/bigdecimal/math.rb
> /usr/share/gems/gems/bigdecimal-1.1.0/lib/bigdecimal/newton.rb
> /usr/share/gems/gems/bigdecimal-1.1.0/lib/bigdecimal/util.rb
> /usr/share/gems/specifications/bigdecimal-1.1.0.gemspec
> 
> I am guessing that bundler can't find the so files that are provided
> by the core packaged rubygems?
> _______________________________________________
> ruby-sig mailing list
> ruby-sig at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig


More information about the ruby-sig mailing list