Installing a Rails plugin from GitHub is now as simple as:
./script/plugin install git://github.com/pjhyett/auto_migrations.git
Sweet! Thanks to all involved for making it happen, the changeset is here.
Now, to figure out gem support…
Installing a Rails plugin from GitHub is now as simple as:
./script/plugin install git://github.com/pjhyett/auto_migrations.git
Sweet! Thanks to all involved for making it happen, the changeset is here.
Now, to figure out gem support…
Gem support would be interesting.
It is noteworthy to mention this currently works with EDGE rails
(at the time of this comment, rails 2.0.2 is the latest rails release)
I’m having a little trouble with this – perhaps I’m missing something? I keep getting “Plugin not found” errors.
script/plugin install git://github.com/moorage/encryption_fu.git Plugin not found: [“git://github.com/moorage/encryption_fu.git”]
morrage, as timcharper said, you need rails EDGE for this.
@schof: Rails 2.1 will have gem dependencies. Railscasts has a screencast on it here: http://railscasts.com/episodes/110
Does script/plugin update work with git repositories.
Is nice. Will be nicer when update works too.
Does this do a submodule init or a full blown repo? I’ve had trouble with cloning plugins as my main repo is a git repo.
@moorage try http:// rather than git://
As per: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/77862fb7cc1976ba http://jamie.ideasasylum.com/2008/08/installing-rails-plugins-with-git-on-windows/
for people who are slow thinkers (like me)—you need git installed first before you can install plugins. Hopefully this will spare someone some wasted effort.
Watch out, there is a bug in rails plugin installs when your using Ruby 1.9
See
http://mentalpagingspace.blogspot.com/2009/05/ruby-scriptplugin-git-does-not-work-in.html
Hi, I m using Rails 2.3.2 but cannot install git plugins. Dont know why. Keep getting PLUGIN not found. Tried the http thing
I'm getting the same problem as you, ritvijp. Did you figure it out by chance?
Folks having trouble with rails 2.3+ and installing plugin from git: change git:// to http:// AND add a / at end of address
thanks parker that worked for me! whew.
I am still having problems with the PLUGIN not found, using: ./script/plugin install http://github.com/sevenwire/bj-plugin.git/