Closed morganchristiansson closed 12 years ago
Can you try to install another gem and list its permissions, just to make sure its not a odd problem on your system. And maybe try to upgrade rubygems.
I have 700 permissions in this folder, but having the installed gems permission depend on the origin systems permission seems rather buggy <-> I would imagine rubygems to normalize the permissions.
My machine is a Ubuntu desktop, I have confirmed it on my colleagues OS X macbook and on an ubuntu server.
It's problematic if you're installing gems as root, because you won't have read permissions to require the files. :-(
Please try 0.2.4, I hope it works, still a very odd issue :(
Yeah 0.2.4 is good! Thanks for the quick update.
$ ls -l $(gem contents rspec-instafail)
-rwxr-xr-x 1 root rvm 429 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/lib/rspec/instafail.rb
-rwxr-xr-x 1 root rvm 240 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/lib/rspec/instafail/rspec_1.rb
-rwxr-xr-x 1 root rvm 979 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/lib/rspec/instafail/rspec_2.rb
-rwxr-xr-x 1 root rvm 62 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/lib/rspec/instafail/version.rb
-rwxr-xr-x 1 root rvm 869 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/Rakefile
-rwxr-xr-x 1 root rvm 1869 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/Readme.md
-rwxr-xr-x 1 root rvm 404 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/rspec-instafail.gemspec
-rwxr-xr-x 1 root rvm 1422 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/spec/instafail_spec.rb
-rwxr-xr-x 1 root rvm 648 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/spec/rspec_1/a_test.rb
-rwxr-xr-x 1 root rvm 49 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/spec/rspec_1/Gemfile
-rwxr-xr-x 1 root rvm 112 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/spec/rspec_1/Gemfile.lock
-rwxr-xr-x 1 root rvm 892 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/spec/rspec_2/a_test.rb
-rwxr-xr-x 1 root rvm 50 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/spec/rspec_2/Gemfile
-rwxr-xr-x 1 root rvm 329 2012-03-27 16:26 /usr/local/rvm/gems/ruby-1.9.3-p125/gems/rspec-instafail-0.2.4/spec/rspec_2/Gemfile.lock
Although all files have the executable bit set now. Not really a problem, but at the same time it's not right to have executable readme files. :-)
After a standard install of the latest version most files are missing read permissions. This on a Ubuntu system.
This results in the following error:
Why are the permissions wrong? (Perhaps they were wrong when you created & pushed the .gem file?)