Red Hat Bugzilla – Bug 852228
[ORIGIN] failure to install ruby rails framework in Origin build.
Last modified: 2015-05-14 18:58:46 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a ruby app (rhc app create -a ruby18railsoewj -t ruby-1.8 -l admin -p admin -d)
2. ssh into the app and do (gem uninstall railties actionpack actionmailer activemodel activeresource activerecord activesupport rails -axI ; gem install -v 3.0.16 rails )
[ruby18railsoewj-mongotest.example.com ~]\> gem uninstall railties actionpack actionmailer activemodel activeresource activerecord activesupport rails -axI ; gem install -v 3.0.16 rails
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
Fetching: activesupport-3.0.16.gem (100%)
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - /var/lib/stickshift/a24ef95b9683494c8da48b7dfe4e66a9/.gem/ruby/1.8/cache/activesupport-3.0.16.gem
A user should not be able to uninstall gems that he/she did not install locally.
This does not seem like a valid test case.
The testcase is incorrect. Closing this bug and update the TCMS entry.