Installing Ruby on Rails 2.3+ plugins from github
I’ve been banging my head against this wall for quite awhile now, and I just finally figured out the answer. Like I’ve done in other posts, I’ll just post what worked for me, and hopefully it’ll help other people.
I’m running Ruby 1.9 and Ruby on Rails 2.3.3 on Snow Leopard. I’ve been trying to install plugins (specifically, Authlogic and Carmen) for a couple days now using the following two commands (as taken from the main github pages):
script/plugin install git://github.com/binarylogic/authlogic.git script/plugin install git://github.com/jim/carmen.git
In return, I received the following errors:
Plugin not found: ["git://github.com/binarylogic/authlogic.git"] Plugin not found: ["git://github.com/jim/carmen.git"]
After a lot of poking around, it turns out you need to make two changes in order for this to work on Rails 2.3 or higher: change the git:// at the beginning of each URL to http://, and add a trailing slash to the end of each URL. So instead, run these:
script/plugin install http://github.com/binarylogic/authlogic.git/ script/plugin install http://github.com/jim/carmen.git/
They both worked perfectly for me, so hopefully they’ll work for you. If not, leave a comment and I’ll try to help.

I am facing the same problem, even after adding a trailing slash and replacing git:// with http://
Any help appreciated…
Sachin
I’m having the same problem with “script/plugin install http://github.com/technoweenie/restful-authentication.git/“. Tried git:// and http://, with and without the final / and can’t get it to install. Rails version 2.3.8.
Sachin: Which version of Ruby and which version of Rails are you running? Which plugins are you trying to install?
Tiago: Unfortunately, I haven’t tried this with Rails 2.3.8 yet, so I can’t help too much. Which version of Rails are you running?
Jake: I am having the exact same problem running Ruby 1.9.1 and Rails 2.3.8 on a Windows XP box. Using http: link and the trailing / – it still says “plugin not found”. I’m stuck until I can find an answer.
Rob: I’d love to help, but I haven’t tested on Rails 2.3.8, and definitely not on Windows :( if I find myself with some spare time, I’ll give it a shot and let you know what I come up with.