Installing a Rails plugin from a github branch
Posted by javier ramirez on October 13, 2010
Today I wanted to install a plugin from github into a rails project. So far so good, you would think. You only need to run script/plugin install and start coding right away.
Unfortunately, the branch of the plugin I need is not the master one, because this applications runs on rails 2.3.x and the master branch has been adapted to rails 3 already.
I could just download the tar file from github, or I could make a git clone and checkout the branch I wanted.. but it turns out I don’t need to do any of those, because old good script/plugin has an option to checkout a specific branch
script/plugin install http://github.com/rails/exception_notification.git -r 2-3-stable
And I can start coding right away.. and that’s exactly what I’m going to do after publishing this post.
بازی said
please explain more.
javier ramirez said
hey my spammy friend.. just a quick note to let you know wordpress adds a “nofollow” to all the links, so you are not getting any SEO benefits for including your shitty comments here
WT said
FYI, this doesn’t work in Rails 3. They changed the flag and I can never remember what it is.
Paco Guzmán said
Maybe you want to install a specific tag
script/plugin install http://github.com/galetahub/rails-ckeditor.git -r ‘tag v3.4.1’
google.com said
Does your website have a contact page? I’m having problems locating it but, I’d
like to shoot you an e-mail. I’ve got some creative ideas for your
blog you might be interested in hearing. Either way, great blog and
I look forward to seeing it develop over time.
https://www.facebook.com/beutskinessencereview said
If some one wishes to be updated with newest technologies after
that he must be go to see this web page and be up to date everyday.
abecedario en ingles said
Hey! This is kind of off topic but I need some
help from an established blog. Is it very difficult to set up your own blog?
I’m not very techincal but I can figure things out pretty fast.
I’m thinking about making my own but I’m not sure where to start.
Do you have any points or suggestions? With thanks