Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3 install a branched gem from github

I am trying to install the gem from https://github.com/raid5/paths_of_glory/tree/rails3

When I put the following line of code in my gemfile as specified in step 1 of the readme:

gem 'paths_of_glory', :git => 'git://github.com/raid5/paths_of_glory.git', :branch => 'rails3'

I then run "bundle install" and get the following message:

Fetching git://github.com/raid5/paths_of_glory.git C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/source.rb:559:in ': No such file or directory - git clone "git://github.com/raid5/paths_of_glory .git" "C:/Ruby192/lib/ruby/gems/1.9.1/cache/bundler/git/paths_of_glory-e6d58ab38 da51ed00031d8072c6aad8102babf9e" --bare --no-hardlinks (Errno::ENOENT) from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/sourc e.rb:559:in git' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/sourc e.rb:618:incache'

...(Several more lines of from)

    from C:/Ruby192/bin/bundle:19:in `load'
    from C:/Ruby192/bin/bundle:19:in `<main>'

Any idea what's going wrong? I appreciate it. I'm using rails 3 and my os is window 7.

like image 340
John Avatar asked Feb 16 '11 20:02

John


1 Answers

This may not be your issue, but that's the error I'd expect to see if you didn't have git installed. If you haven't installed it yet, make sure you install it with the command line options.

like image 191
Preacher Avatar answered Oct 16 '22 14:10

Preacher