Bug #1421
closedPermission denied - ~/.ri
Description
=begin
Some tests failed and error when home directory is not writable.
http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/last
- Failure:
test_execute_remote(TestGemCommandsInstallCommand) [/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rubygems/test_gem_commands_install_command.rb:120]:
[Gem::SystemExitException] exception expected, not
Class: Errno::EACCES
Message: <"Permission denied - /home/chkbuild/.ri">
---Backtrace---
/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rubygems/test_gem_commands_install_command.rb:123:inblock (2 levels) in test_execute_remote' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rubygems/test_gem_commands_install_command.rb:120:in
block in test_execute_remote'
/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rubygems/test_gem_commands_install_command.rb:119:in `test_execute_remote'
-
Error:
test_lookup_method_class_method(TestRDocRIDriver):
Errno::EACCES: Permission denied - /home/chkbuild/.ri
/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
Error:
test_lookup_method_class_missing(TestRDocRIDriver):
Errno::EACCES: Permission denied - /home/chkbuild/.ri
/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
Error:
test_lookup_method(TestRDocRIDriver):
Errno::EACCES: Permission denied - /home/chkbuild/.ri
/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
Error:
test_lookup_method_dot_instance(TestRDocRIDriver):
Errno::EACCES: Permission denied - /home/chkbuild/.ri
/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
Error:
test_lookup_method_method_missing(TestRDocRIDriver):
Errno::EACCES: Permission denied - /home/chkbuild/.ri
/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
Error:
test_lookup_method_dot_class(TestRDocRIDriver):
Errno::EACCES: Permission denied - /home/chkbuild/.ri
/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup' -
Error:
test_parse_name(TestRDocRIDriver):
Errno::EACCES: Permission denied - /home/chkbuild/.ri
/home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:innew' /home/chkbuild/tmp/build/ruby-trunk/20090429T073554/ruby/test/rdoc/test_rdoc_ri_driver.rb:18:in
setup'
=end