Hello Folks,
I am currently packaging multiple rubygems, you can find my work here:
http://www.sh0n.net/spstarr/fedora-work
I think i am doing it correctly as per the Ruby/Rubygem package specifications.
However, I am seeing a problem with OpenNebula which I am packaging for the Fedora Cloud
SIG team. In that the rubygem loader is looking for different path? For example, with
rubygem-thin:
It wants to find it here:
/usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin_parser.so
Vs
where the Fedora package specification says here:
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/thin_parser.so
As in this error from OpenNebula on startup:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require':
no such file to load -- /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin_parser
(LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin.rb:47
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:59:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:59:in `require'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/handler/thin.rb:1
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/handler.rb:20:in
`const_get'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/handler.rb:20:in `get'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:269:in
`inject'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/handler.rb:20:in `each'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/handler.rb:20:in
`inject'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/handler.rb:20:in `get'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:269:in
`server'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:208:in
`logging_middleware'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:292:in `call'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:292:in
`build_app'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:291:in
`reverse_each'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:291:in
`build_app'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:301:in
`wrapped_app'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:252:in `start'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/lib/rack/server.rb:137:in `start'
from /usr/lib/ruby/gems/1.8/gems/rack-1.3.0/bin/rackup:4
from /usr/bin/rackup:19:in `load'
from /usr/bin/rackup:19
Anyone able to help me understand why this is happening? Please feel free to help out
reviewing those SRPMs. Please ignore the opennebula SRPM as it it is not ready for
review.
Thanks,
Shawn.