ruby や rails、redmine に関してはド素人なので 初心者として・・・。
FreeBSD 11.2 RELEASE の環境に
redmine を postgreSQL9.6 をデータベースとしてインストールしようとしています。
bundle でパッケージをインストールしようとするときに
tcsh
1bundle install --without development test --path vendor/bundle 2[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice with different version requirements. 3You specified: pg (~> 0.18.1) and pg (>= 0.18.1). Bundler cannot continue. 4 5 # from /usr/local/www/redmine/Gemfile:88 6 # ------------------------------------------- 7 # Dir["#{File.dirname(__FILE__)}/bundler.d/*.rb"].each do |bundle| 8 > self.instance_eval(Bundler.read_file(bundle)) 9 # end 10 # -------------------------------------------
というエラーになります。
pg のバージョンに問題があるのは分かるのですが
plain
1You specified: pg (~> 0.18.1) and pg (>= 0.18.1). Bundler cannot continue.
で
(>= 0.18.1) はバージョン 0.18.1 以上であることという意味なんでしょうが・・・
(~> 0.18.1) ってどういう意味なんでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/11/21 05:27