Search code examples
ruby-on-railsrubyrubygemsrefinerycms

Can't install the "refinerycms-memberships" gem


What can i do if i know there is a github repository for the gem but in the terminal i couldn't install the gem via 'gem install' or 'bundle install' because it fails with the following error:

Could not find gem 'refinerycms-memberships (= 1.0)' in any of the gem sources listed in your Gemfile.

I couldn't find it on rubygems.org either, so is there any other way of getting it installed :(


Solution

  • If you're using bundle install then I assume you're installing using a Gemfile. In this case, you can specify a git repo:

    gem refinerycms-memberships, :git => "git://path.to/git/repo"