The majority of Ruby on Rails developers have moved their projects to GitHub, with many no longer supporting SVN (or whatever their plugin used to be on). GitHub is a fantastic app and it is truly opening many doors for developers. However, if you are a poor soul like myself who does not own an Apple computer, it is more difficult than you think to install a GitHub repository as a Plugin on Windows. Surprised?? I’m not. Let’s use the previously mentioned Searchlogic plugin as the GitHub repository for this post. If I owned an Apple, it would be as easy as typing the following into the console (or whatever it’s called on an Apple).
script/plugin install git://github.com/binarylogic/searchlogic.git
You press enter and it installs the awesome Searchlogic plugin into your app. Yay for you.
Now for us deprived Windows users, there are a few more steps to be taken. Firstly, go here and install msysgit. It’s just a simple install and shouldn’t take to long. Once you’ve done that, right click on your app’s root folder, and select “Git Bash Here”. The mysysgit command prompt will come up. Type the following and it will install your plugin.
script/plugin install git://github.com/binarylogic/searchlogic.git
Your now ready to use the plugin as usual. Hoped this helped.
Cameron
GitHub page: binarylogic’s Searchlogic
Git on windows: msysgit
Pingback: Tweets that mention Installing GitHub Plugins for Ruby on Rails on Windows | Cameron Stitt -- Topsy.com
Pingback: Uploading Documents in Ruby on Rails | Cameron Stitt