2016-04-18 2 views
0

COMMAND「バンドル」は、このエラーが返されます。は「バンドル」コマンドは、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' 
-------------------------------------' 
+0

あなたのGemfileを投稿することができますか?このエラーを取得する一般的な方法の1つは、エラーの説明に記載されているように、同じGemを2回リストアすることです。 –

+1

宝石は2回リストされ、1つのエラーを修正しました。 –

答えて

0

をあなたのGemfileが含まれていませんでしたが、私は「プラットフォーム」の前に不足しているコンマがある参照してください。 }もあります。]です。

例gemfile、前述の修正で:

source 'https://rubygems.org' 
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] 
関連する問題