Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482312 - dev-ruby/jeweler-1.8.4 - /usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': cannot load such file -- git (LoadError)
Summary: dev-ruby/jeweler-1.8.4 - /usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_requ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-24 10:11 UTC by Robert Gill
Modified: 2015-06-07 06:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output from emerge --info (emerge-info.txt,5.01 KB, text/plain)
2013-08-24 10:11 UTC, Robert Gill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Gill 2013-08-24 10:11:09 UTC
Created attachment 356846 [details]
Output from emerge --info

Attempting to run jeweler fails with the following error on my system:

/usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': cannot load such file -- git (LoadError)
        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
        from /usr/lib64/ruby/gems/1.9.1/gems/jeweler-1.8.4/lib/jeweler/generator.rb:1:in `<top (required)>'
        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
        from /usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
        from /usr/lib64/ruby/gems/1.9.1/gems/jeweler-1.8.4/bin/jeweler:6:in `<top (required)>'
        from /usr/bin/jeweler:8:in `load'
        from /usr/bin/jeweler:8:in `<main>'

The git gem is not listed as a dependency in the jeweler gemspec for version 1.8.4.

The versions for important related programs follow. I'm including the output for 'emerge --info' as an attachment.

ruby --version:
  ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]

gem --version:
  1.8.24
Comment 1 Hans de Graaff gentoo-dev Security 2013-08-25 07:12:38 UTC
Can you provide a bit more context on the situation in which you encounter this error? From the output it is not clear to me what you are trying to do.
Comment 2 Robert Gill 2013-08-26 19:35:30 UTC
(In reply to Hans de Graaff from comment #1)
> Can you provide a bit more context on the situation in which you encounter
> this error? From the output it is not clear to me what you are trying to do.

I encounter it when running /usr/bin/jeweler. I don't pass any command line arguments.
Comment 3 Hans de Graaff gentoo-dev Security 2013-08-27 18:29:27 UTC
Looking at our jeweler history the git gem was deprecated when we originally added jeweler, and we never added it to the ebuild, probably because it wasn't needed to support installing other jeweler-based gems.

It looks like the git gem is now supported again, and I've added it as dev-ruby/git. Unfortunately this doesn't seem to fix jeweler yet, since we face a similar issue with github_api.
Comment 4 Hans de Graaff gentoo-dev Security 2015-06-07 06:49:11 UTC
This was fixed with jeweler 2.0.1 where all runtime dependencies are available.