【发布时间】:2016-04-18 21:50:20
【问题描述】:
将命令“捆绑”到 rails 应用程序返回此错误:
'[!] There was an error parsing 'Gemfile': You cannot specify the same gem twice with different version requirements. You specified: sdoc (~> 0.4.0) and sdoc (>= 0). BUndlr cannot continue.
from c:/Users/MacKenzie/Documents/Programming/Projects/odot/Gemfile:16
------------------------------------
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
> gem 'tzinfo-data' platforms: [:mingw, :mswin, :x64_mingw, :jruby}
source 'https://rubygems.org'
-------------------------------------'
【问题讨论】:
-
您可以发布您的 Gemfile 吗?如错误描述中所述,出现此错误的一种常见方法是,将同一个 Gem 列出两次...
-
宝石被列出了两次,删除一个修复了错误,谢谢!
标签: ruby-on-rails ruby bundle