1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

White space fixes

This commit is contained in:
Petko Bordjukov 2016-06-10 20:39:19 +03:00
parent cbaa8cae9f
commit 2da19215f6

View file

@ -26,6 +26,7 @@ module Libv8
verify_installation!
return exit_status
end
def configure(context = MkmfContext.new)
context.incflags.insert 0, Libv8::Paths.include_paths.map{ |p| "-I#{p}" }.join(" ") + " "
context.ldflags.insert 0, Libv8::Paths.object_paths.join(" ") + " "
@ -40,7 +41,9 @@ module Libv8
fail ArchiveNotFound, p unless File.exist? p
end
end
class HeaderNotFound < StandardError; end
class ArchiveNotFound < StandardError
def initialize(filename)
super "libv8 did not install properly, expected binary v8 archive '#{filename}'to exist, but it was not found"