`git rev-parse feature/2.0.0 error when installing RefineryCMS engine for Mailchimp
If you’ve followed instructions onĀ https://github.com/Wirelab/refinerycms-mailchimp, especially the part on adding this to your Gemfile:
gem 'refinerycms-mailchimp', :github => 'Wirelab/refinerycms-mailchimp', :branch => 'feature/2.0.0'
You'll probably run into this issue:
[ruby-1.9.3-p194] :projectA_root (master) $ bundle install Fetching git://github.com/Wirelab/refinerycms-mailchimp.git remote: Counting objects: 647, done. remote: Compressing objects: 100% (292/292), done. remote: Total 647 (delta 220), reused 625 (delta 209) Receiving objects: 100% (647/647), 71.85 KiB, done. Resolving deltas: 100% (220/220), done. fatal: ambiguous argument 'feature/2.0.0': unknown revision or path not in the working tree. Use '--' to separate paths from revisions Git error: command `git rev-parse feature/2.0.0` in directory /Users/navid/.rvm/gems/ruby-1.9.3-p194@projectA/cache/bundler/git/refinerycms-mailchimp-2ae5df07b00ee624b0abd25a2f58575873229dce has failed. If this error persists you could try removing the cache directory '/Users/navid/.rvm/gems/ruby-1.9.3-p194@projectA/cache/bundler/git/refinerycms-mailchimp-2ae5de07b00fe624b0abd25a2f58572876219dce'
* The issue is that branch “feature” version “2.0.0” no longer exists. In order to figure out which branches are available, in github, you can click on the branch drop-down on https://github.com/Wirelab/refinerycms-mailchimp. I ended up using branch “refinery-2.0” instead. So add the following to your Gemfile or similar:
gem 'refinerycms-mailchimp', :github => 'Wirelab/refinerycms-mailchimp', :branch => 'refinery-2.0'