Hi,
I installed Foreman 1.6, but /usr/bin/ruby193-rake is not loaded.
Someone said that /usr/bin/ruby193-rake is included in the wrapper, so I
tried to install the wrapper manually:
*yum install ruby193-ruby-wrapper *
but got error:
file /usr/bin/ruby193-ruby from install of
ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with file from package
ruby193-ruby-1.9.3.327-27.el6.x86_64
It seems this wrapper will lay down both /usr/bin/ruby193-ruby and
ruby193-rake, but the /usr/bin/ruby193-ruby installed by another rpm is now
conflicting with the foreman ruby193-ruby-wrapper.
I tried to remove the existing ruby193-ruby-1.9.3.327-27.el6.x86_64, but
it has a lot of dependence and can't be removed.
Then any suggestion how to lay down foreman's /usr/bin/ruby193-rake?
Thanks a lot!
I found a workaround:
First I uninstall the old ruby193-ruby with option --nodeps, this will
remove this rpm without dependency check:
rpm -e --nodeps ruby193-ruby
Then I install foreman's ruby193-ruby-wrapper, which will now install
ruby193-rake and ruby193-ruby:
yum install ruby193-ruby-wrapper
At the end I ran foreman-installer again to make sure nothing got lost.
···
On Friday, September 26, 2014 11:58:45 AM UTC-4, staceyt...@gmail.com wrote:
Hi,
I installed Foreman 1.6, but /usr/bin/ruby193-rake is not loaded.
Someone said that /usr/bin/ruby193-rake is included in the wrapper, so I
tried to install the wrapper manually:
*yum install ruby193-ruby-wrapper *
but got error:
file /usr/bin/ruby193-ruby from install of
ruby193-ruby-wrapper-0.0.2-5.el6.noarch conflicts with file from package
ruby193-ruby-1.9.3.327-27.el6.x86_64
It seems this wrapper will lay down both /usr/bin/ruby193-ruby and
ruby193-rake, but the /usr/bin/ruby193-ruby installed by another rpm is now
conflicting with the foreman ruby193-ruby-wrapper.
I tried to remove the existing ruby193-ruby-1.9.3.327-27.el6.x86_64, but
it has a lot of dependence and can’t be removed.
Then any suggestion how to lay down foreman’s /usr/bin/ruby193-rake?
Thanks a lot!