我對ruby並不陌生。我必須得到一個現有的應用程序,它被用作Java應用程序的接口(我知道)。當我試圖獲取所有的依賴(在Linux Mint的),我招呼着以下幾點:Ruby的bundler版本不兼容版本號
$ bundle install
Fetching gem metadata from http://rubygems.org/......
Fetching gem metadata from http://rubygems.org/..
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (~> 1.0.0) ruby
Current Bundler version:
bundler (1.1.5)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
我嘗試「寶石安裝捆綁」,但這並沒有工作。我試圖安裝捆綁1.0.0,使用:
$ sudo gem install bundler -v 1.0.0
Successfully installed bundler-1.0.0
1 gem installed
Installing ri documentation for bundler-1.0.0...
Installing RDoc documentation for bundler-1.0.0...
這似乎工作,但我不能'切換'它。
你的gemfile是怎麼樣的?你有沒有嘗試過? '捆綁更新' – Matthias 2012-07-19 17:31:42
是的,我有 - 它似乎想要一箇舊版本?我覺得很奇怪... – 2012-07-20 21:28:40