Ruby on rails Can';t安装";精炼CMS成员资格“;宝石
如果我知道gem有一个github存储库,但在终端中我无法通过“gem安装”或“bundle安装”安装gem,因为它失败并出现以下错误,我该怎么办:Ruby on rails Can';t安装";精炼CMS成员资格“;宝石,ruby-on-rails,ruby,gem,refinerycms,Ruby On Rails,Ruby,Gem,Refinerycms,如果我知道gem有一个github存储库,但在终端中我无法通过“gem安装”或“bundle安装”安装gem,因为它失败并出现以下错误,我该怎么办: Could not find gem 'refinerycms-memberships (= 1.0)' in any of the gem sources listed in your Gemfile. 我在rubygems.org上也找不到它,所以有没有其他安装方法:(如果您使用的是捆绑安装,那么我假设您使用的是Gemfile。在这种情况下,
Could not find gem 'refinerycms-memberships (= 1.0)' in any of the gem sources listed in your Gemfile.
我在rubygems.org上也找不到它,所以有没有其他安装方法:(如果您使用的是
捆绑安装
,那么我假设您使用的是Gemfile。在这种情况下,您可以:
特别是对于这个gem,我在我的gem文件中找到了这一行:
gem'refinerycms memberships',“~>2.0.0',:git=>”https://github.com/rbriank/refinerycms_membership.git“
根据您看到本文的时间,您可能需要修改版本或可能添加
:分支=>..
选项
gem refinerycms-memberships, :git => "git://path.to/git/repo"