Build fails on Ubuntu x86_64 due to permission problem #236
Comments
@cowboyd, I cannot replicate this with |
I suspect that a simple chmod in diff --git a/ext/libv8/location.rb b/ext/libv8/location.rb
index 5532a73..0c74270 100644
--- a/ext/libv8/location.rb
+++ b/ext/libv8/location.rb
@@ -7,6 +7,7 @@ module Libv8
def install!
File.open(Pathname(__FILE__).dirname.join('.location.yml'), "w") do |f|
f.write self.to_yaml
+ f.chmod 0644
end
return 0
end |
I tried to manually set the permission by executing
On |
@panmari I'm surprised by that. Did you use sudo to perform the chmod? |
@zoombody yes I did
|
It turns out there are other files with permissions set to 0600. When I repeated @panmari's test, the error pointed to files other than .location.yml. The following files all need to be hit with
After doing so, Incidentally two other files are not world-readable but they don't affect the build of therubyracer:
|
@zoombody your PR was merged and this issue will be fixed by the next release of |
When trying to run
bundle update therubyracer
I get a compilation error. I'm using Ubuntu 12.10 x86_64. I have purged all old versions of therubyracer and libv8.My Gemfile includes the line
and I do not explicitly require libv8.
Here is the full error sent to stdout:
The file .location.yml has permissions set to 600. Running
sudo gem install therubyracer -v '0.11.3'
succeeds, and thenbundle update therubyracer
can complete.The text was updated successfully, but these errors were encountered: