捆绑安装错误 [英] bundle install error
问题描述
我正在尝试安装此宝石: https://github.com/jongilbraith/simple -Private-messages 与软件包安装。
我收到以下错误消息:
更新git: //github.com/professionalnerd/simple-private-messages.git
获取http://rubygems.org/
的源索引无法找到gem'simple-private-messages(> = 0,运行时)'在git://github.com/professionalnerd/simple-private-messages.git(在主)。
源不包含任何版本的'simple-private-messages(> = 0,运行时)'
code> Gemfile :
gemsimple-private-messages,:git => git://github.com/professionalnerd/simple-private-messages.git
有什么想法?
根据@bjeanes的回答,理想的情况是Git仓库应该有一个 但是,如果存储库仅缺少 I'm trying to install this gem: https://github.com/jongilbraith/simple-private-messages with bundle install. And I'm getting the following error message: entry in Any ideas? As per @bjeanes answer, ideally the Git repository should have a However, if the repository is only missing the
这篇关于捆绑安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! .gemspec $ c
.gemspec
文件,否则它将是一个有效的Git宝石源代码,您可以在 gem
调用中指定一个版本号,让Bundler生成 .gemspec
给你:
gem'simple-private-messages','0.0.0',::git = > 'git://github.com/jongilbraith/simple-private-messages.git'
Updating git://github.com/professionalnerd/simple-private-messages.git
Fetching source index for http://rubygems.org/
Could not find gem 'simple-private-messages (>= 0, runtime)' in git://github.com/professionalnerd/simple-private-messages.git (at master).
Source does not contain any versions of 'simple-private-messages (>= 0, runtime)'
Gemfile
:gem "simple-private-messages",:git =>"git://github.com/professionalnerd/simple-private-messages.git"
.gemspec
file for each gem the Git repository represents..gemspec
file and would otherwise be a valid Git gem source, you can specify a version number in your gem
call to have Bundler generate a .gemspec
for you:gem 'simple-private-messages', '0.0.0', :git => 'git://github.com/jongilbraith/simple-private-messages.git'