Jak zainstalować pakiet, gdy Gemfile wymaga starszej wersji pakietu?
Jestem w starszym projekcie Rails, który ma Gemfile. Próbowałem dodać klejnot do Gemfile ibundle install
ale wystąpił błąd:
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (= 3.0.0) ruby depends on
bundler (~> 1.0.0) ruby
Current Bundler version:
bundler (1.1.5)
This Gemfile requires a different version of Bundler.
Wersja używanych przez niego Railsów wymaga bundler ~> 1.0.0, ale mam zainstalowaną wersję 1.1.5 i używam jej do innych projektów. Zwykle używałbymbundle exec ...
ale ponieważ jest to pakiet, o którym mówimy, jest trochę bardziej skomplikowany. Jak mogę dodać klejnot do mojego Gemfile i uruchomićbundle install
podczas używania wymaganej wersji pakunku?