We installed Ruby on /usr/local/bin/ruby (v2.1.6) from source.
The OS has installed version on /usr/bin/ruby (v2.0.0), which is in use by another application.
We get following Error Message while Merge Requests:
remote: /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/spec_set.rb:92:in
block in materialize': Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound) remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85:in
map!’
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85:inmaterialize' remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/definition.rb:140:in
specs’
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/definition.rb:185:inspecs_for' remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/definition.rb:174:in
requested_specs’
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/environment.rb:18:inrequested_specs' remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:13:in
setup’
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler.rb:127:insetup' remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/setup.rb:18:in
<top (required)>’
remote: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:inrequire' remote: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in
require’
We tried out already to switch the Ruby Versions to /usr/bin/ruby
as v2.1.6
, which worked perfect, but the other application is not compatible to 2.1.6. So we have to switch it back.
Where can i find the configuration to change the Ruby location?