Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from scottjg/fixes

Various fixes to get this thing working
  • Loading branch information...
commit 42afead9ed0df0e2125fbdd163b3752b6a2f9e31 2 parents e85f871 + 48aa110
@atmos authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 lib/app.rb
View
11 lib/app.rb
@@ -34,9 +34,12 @@ def overlay_executable
'-i', input_file,
'-o', full_output_file
]
+ environ = {
+ 'RUBYOPT' => ''
+ }
unless File.exist?(full_output_file)
- child = POSIX::Spawn::Child.new(*args)
+ child = POSIX::Spawn::Child.new(environ, *args)
if child.status.success?
status 200
else
@@ -52,3 +55,9 @@ def overlay_executable
end
end
end
+
+class NilClass
+ def close
+ nil
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.