Description of problem: This has been reported in 2 different forum posts: 1) https://www.redhat.com/openshift/community/forums/openshift/update-getting-started-documentation-to-also-install-rake-gem-before-installing-the 2) https://www.redhat.com/openshift/community/forums/openshift/rhc-not-working-after-install-client-tools-centos-5 This is odd since I didn't need the rake gem on my Mac, but it was definitely needed on CentOS and Ubuntu. We need to update our getting started guides or possibly have it automatically installed as a dependency.
Rake shouldn't be a dependency to runtime users
Because of the way gem installs the native extensions, rake is unfortunately required. Since this is a pretty standard gem, this shouldn't be a problem for most users. This does not affect RPM installation (or dependencies) since the extension does not get executed.
Bilhar, can you review this and patch the GSG where appropriate? thanks
I think it have still the ERROR about missing rake on windows7, i still need to carry out "gem install rake" and then i can execute the "gem install rhc" successfully.. env: Windows7 Ultimate 64-bit SP1 Eng cygwin 1.7.14-2 rubygems 1.8.23 rhc-0.91.10.gem or rhc-0.91.8.gem See details below: ====>> gem instal rhc rhc-0.91.10.gem -l ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: rhc requires rake (>= 0) ============================= $ gem instal rhc rhc-0.91.8.gem -l ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: rhc requires rake (>= 0)
I think it should be my VM issue, i switch to the another VM and execute "gem install rhc-0.91.10.gem", rake and rhc could be installed automatically without any error.. So it is fixed.. See details below: $ gem install rhc-0.91.10.gem Fetching: rake-0.9.2.2.gem (100%) Building native extensions. This could take a while... =================================================== rhc-rest is no longer needed as an external gem - If it is installed, it will be removed - Its libraries are now included in rhc - Any applications requiring rhc-rest will still function as expected =================================================== Successfully installed rake-0.9.2.2 Successfully installed rhc-0.91.10 2 gems installed Installing ri documentation for rake-0.9.2.2... Installing ri documentation for rhc-0.91.10... Installing RDoc documentation for rake-0.9.2.2... Installing RDoc documentation for rhc-0.91.10...
Does this mean this is not an issue on Windows machines? Please confirm so that we can document correctly. Also we state that we have added rake as a dependency in rhc as of version 0.91.8 to solve this in this forum: http://hurl.test.redhat.com/TofGnL But I still had these issues on newer versions (0.92.1) of client tools on Fedora and RHEL. After installing client tools, I got error messages for rake. Then I did a gem install rake, and after that I was able to use the client tools without any issues. It doesn't appear that the dependency is resolved, or am I missing something? Also, can someone please clarify which operating systems are affected by this? I have tested on RHEL and Fedora and had rake issues. But I can't get rhc to update on Mac OS. And on Ubuntu I can only get version 0.90.7 of rhc to install. It doesn't update to a newer version for some reason. Can someone please help? I'm just trying to gather as much information as possible to correctly document this in the Getting Started Guide.
What error messages did you get and what did you try to run? I just installed this on Ubuntu (with no other gems installed) and it worked fine: http://pastebin.test.redhat.com/86976 (In reply to comment #6) > Does this mean this is not an issue on Windows machines? Please confirm so > that we can document correctly. Also we state that we have added rake as a > dependency in rhc as of version 0.91.8 to solve this in this forum: > http://hurl.test.redhat.com/TofGnL > > But I still had these issues on newer versions (0.92.1) of client tools on > Fedora and RHEL. After installing client tools, I got error messages for rake. > Then I did a gem install rake, and after that I was able to use the client > tools without any issues. It doesn't appear that the dependency is resolved, > or am I missing something? > > Also, can someone please clarify which operating systems are affected by this? > I have tested on RHEL and Fedora and had rake issues. But I can't get rhc to > update on Mac OS. And on Ubuntu I can only get version 0.90.7 of rhc to > install. It doesn't update to a newer version for some reason. > > Can someone please help? I'm just trying to gather as much information as > possible to correctly document this in the Getting Started Guide.