# Installing a plugin from a git repository

**URL:** <https://www.ruby-forum.com/t/installing-a-plugin-from-a-git-repository/143061>\
**Category:** Rails\
**Created:** [July 14, 2008, 9:34pm UTC](https://www.ruby-forum.com/t/installing-a-plugin-from-a-git-repository/143061 "2008-07-14T21:34:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![francois](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@francois](https://www.ruby-forum.com/u/francois)\
**Post date:** [July 14, 2008, 9:34pm UTC](https://www.ruby-forum.com/t/installing-a-plugin-from-a-git-repository/143061/1 "2008-07-14T21:34:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![francois](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@francois](https://www.ruby-forum.com/u/francois)\
**Post date:** [July 23, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/installing-a-plugin-from-a-git-repository/143061/2 "2008-07-23T17:46:07Z")

</div>

try http:// rather than git://

---

<div class="post-metadata">

**Author:** ![francois](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@francois](https://www.ruby-forum.com/u/francois)\
**Post date:** [September 7, 2008, 2:36am UTC](https://www.ruby-forum.com/t/installing-a-plugin-from-a-git-repository/143061/3 "2008-09-07T02:36:53Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![francois](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@francois](https://www.ruby-forum.com/u/francois)\
**Post date:** [September 7, 2008, 3:23am UTC](https://www.ruby-forum.com/t/installing-a-plugin-from-a-git-repository/143061/4 "2008-09-07T03:23:06Z")

</div>

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
