installing a plugin from a git repository

21 views
Skip to first unread message

Francois

unread,
Jul 14, 2008, 2:33:15 PM7/14/08
to Ruby on Rails: Talk
Hi,
I've just upgraded my system to rails 2.1

If I start a new rails project I can issue this command without a
problem:

./script/plugin install git://github.com/thoughtbot/shoulda.git


However, I can't seem to get that command to work on my 2.02 projects
that
have been updated to 2.1 using rake rails:update
I get the following error:

Plugin not found: ["git://github.com/thoughtbot/shoulda.git"]

Any ideas why this is the case?

Thanks
Francois

darcy

unread,
Jul 23, 2008, 11:45:21 AM7/23/08
to Ruby on Rails: Talk
try http:// rather than git://

Brian Armstrong

unread,
Sep 6, 2008, 8:36:10 PM9/6/08
to Ruby on Rails: Talk
Hi,

Thanks that worked! I'm curious why though. Does anyone know? Would
be ideal to fix it so it's consistent. Thanks!
Brian

Miles Georgi

unread,
Sep 6, 2008, 9:22:23 PM9/6/08
to rubyonra...@googlegroups.com
definitely sounds like a bug to me. I see no reason why git://
wouldn't work if git clone git://github.com/blah/blah.git works
Reply all
Reply to author
Forward
0 new messages