Actions
Defect #17828
closedCould not find gem 'mocha (~> 1.0.0) ruby'
Defect #17828:
Could not find gem 'mocha (~> 1.0.0) ruby'
Resolution:
Fixed
Affected version:
Description
Hi everybody,
I have a fresh copy of the 2.5 version, checkout from SVN.
As stated in the RedmineInstall I run bundler to manage gems dependencies
I get the following error
Resolving dependencies... Could not find gem 'mocha (~> 1.0.0) ruby' in the gems available on this machine.
It seems for me that somehow bundler is not excluding test group which introduces higher mocha version.
group :test do
gem "shoulda", "~> 3.3.2"
gem "mocha", "~> 1.0.0", :require => 'mocha/api'
if RUBY_VERSION >= '1.9.3'
gem "capybara", "~> 2.1.0"
gem "selenium-webdriver"
end
end
Installing mocha 1.0.0 leads to versions conflict between 0.10.5 and 1.0.0.
Resolving dependencies...
Bundler could not find compatible versions for gem "mocha":
In Gemfile:
shoulda (~> 3.3.2) ruby depends on
shoulda-matchers (~> 1.4.1) ruby depends on
bourne (~> 1.1.2) ruby depends on
mocha (= 0.10.5) ruby
mocha (1.0.0)
Information
Files
Actions