technicalpickles / ruby-git

Ruby/Git is a Ruby library that can be used to create, read and manipulate Git repositories by wrapping system calls to the git binary.
http://jointheconversation.org/rubygit/
MIT License
4 stars 0 forks source link

rake fails with gems 1.3.5 #1

Open rdp opened 14 years ago

rdp commented 14 years ago

doze, linux

rdp@li49-39:~/dev/downloads/ruby-git$ rake -T (in /home/rdp/dev/downloads/ruby-git) rake aborted! undefined method `manage_gems' for Gem:Module /home/rdp/dev/downloads/ruby-git/Rakefile:2 (See full trace by running task with --trace)

technicalpickles commented 14 years ago

Please include a full backtrace.

I'm guessing it has to do with your version of rubygems.

rdp commented 14 years ago
C:\dev\ruby\downloads\ruby-git>rake -T --trace
(in C:/dev/ruby/downloads/ruby-git)
rake aborted!
undefined method `manage_gems' for Gem:Module
<internal:gem_prelude>:344:in `method_missing'
C:/dev/ruby/downloads/ruby-git/Rakefile:2:in `<top (required)>'
C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile'
C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2017:in `block in load_rakefile'
C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile'
C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2000:in `block in run'
C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
C:/installs/ruby19_mingw/lib/ruby/gems/1.9.1/gems/rake-0.8.7/bin/rake:31:in `<top (required)>'
C:/installs/ruby19_mingw/bin/rake:19:in `load'
C:/installs/ruby19_mingw/bin/rake:19:in `<main>'

reproducible with rubygems 1.3.5 [all platforms I've tried]

technicalpickles commented 14 years ago

Does removing ruby-git actually fix it?

rdp commented 14 years ago

this is from cloning the ruby-git repo, cd'ing into it and running "rake -T" -r