Every repository with this icon (
Every repository with this icon (
Release Procedure
Update the Gem Information
1.) Update the version and release notes
- Update the version in
lib/spree.rbandconfig/environment.rb
- Update
CHANGELOG
- Update
CONTRIBUTORS
git-log —pretty=format:“%an” | sort -u
2.) Remove extraneous crap from directories. Make sure there are no extra images in public/assets, etc. Check the size of the gem before releasing.
3.) Build and install the gem locally
sudo rake spree:gem:install
_NOTE: You will probably need to run the above command as root or using sudo.
4.) Create a test project
cd ~ spree testapp
5.) Configure database.yml to taste (or do nothing if you have sqlite3 installed already.)
6.) Run the bootstrap task to setup your database
rake db:bootstrap
Accept the defaults when prompted.
7.) Fire up the server and test.
Perform the Release
1.) Once you’re satisfied that the new gem is working you should commit your changes to your local git repository.
2.) Release the Gem
First get rid of local version (so we can make sure we are using the published one)
sudo gem uninstall spree
3.) Perform the release
rake spree:release
4.) Tag the release with your GPG key
git tag -s "v0.0.6" -m "tagging 0.0.6 release"
5.) Verify the release is on ruby forge (http://rubyforge.org/projects/spree)
6.) Wait a few hours for it to propagate and become available via gem install






