Spree Commerce

Try It Now

Installing Extensions from Git

Posted on July 09, 2008 by Sean Schofield

It’s now possible to install Spree extensions from Github (or any other git repository.) To install an extension from git simply type:

<p>script/extension install git://path-to-extension.git</p>

There are a few other details (like the ability to force a new install, etc.). Use the --help option for details. Keep in mind that if you have a Spree app that is already deployed you won’t be able to use this until you update your local gem and/or refreeze you vendor/spree directory.

You will recall that you can build the gem locally (using the latest git source of course) using

<p>rake spree:gem:install</p>

Now, let’s get to work and start writing those extensions!