Skip to content

Instantly share code, notes, and snippets.

@gbp
Created July 9, 2012 09:24
Show Gist options
  • Select an option

  • Save gbp/3075321 to your computer and use it in GitHub Desktop.

Select an option

Save gbp/3075321 to your computer and use it in GitHub Desktop.
Example Spree install for issue #1749
$ cd Sites/
$ mkdir spree-test
$ cd spree-test/
$ rvm --rvmrc --create gemset use spree-test
$ gem install spree -v 1.1.2
[snip]
$ rails new .
[snip]
$ echo 'gem "spree", "~> 1.1.2"' >> Gemfile
$ bundle
Bundler could not find compatible versions for gem "thor":
In snapshot (Gemfile.lock):
thor (0.15.4)
In Gemfile:
spree (~> 1.1.2) ruby depends on
thor (= 0.14.6) ruby
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
$ gem uninstall thor
Select gem to uninstall:
1. thor-0.14.6
2. thor-0.15.4
3. All versions
> 2
Successfully uninstalled thor-0.15.4
$ bundle update
[snip]
$ rails g spree:install
[snip]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment