mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
White space fixes
This commit is contained in:
parent
cbaa8cae9f
commit
2da19215f6
1 changed files with 10 additions and 7 deletions
|
@ -26,8 +26,9 @@ module Libv8
|
||||||
verify_installation!
|
verify_installation!
|
||||||
return exit_status
|
return exit_status
|
||||||
end
|
end
|
||||||
|
|
||||||
def configure(context = MkmfContext.new)
|
def configure(context = MkmfContext.new)
|
||||||
context.incflags.insert 0, Libv8::Paths.include_paths.map{|p| "-I#{p}"}.join(" ") + " "
|
context.incflags.insert 0, Libv8::Paths.include_paths.map{ |p| "-I#{p}" }.join(" ") + " "
|
||||||
context.ldflags.insert 0, Libv8::Paths.object_paths.join(" ") + " "
|
context.ldflags.insert 0, Libv8::Paths.object_paths.join(" ") + " "
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -40,7 +41,9 @@ module Libv8
|
||||||
fail ArchiveNotFound, p unless File.exist? p
|
fail ArchiveNotFound, p unless File.exist? p
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class HeaderNotFound < StandardError; end
|
class HeaderNotFound < StandardError; end
|
||||||
|
|
||||||
class ArchiveNotFound < StandardError
|
class ArchiveNotFound < StandardError
|
||||||
def initialize(filename)
|
def initialize(filename)
|
||||||
super "libv8 did not install properly, expected binary v8 archive '#{filename}'to exist, but it was not found"
|
super "libv8 did not install properly, expected binary v8 archive '#{filename}'to exist, but it was not found"
|
||||||
|
@ -59,14 +62,14 @@ module Libv8
|
||||||
class NotFoundError < StandardError
|
class NotFoundError < StandardError
|
||||||
def initialize(*args)
|
def initialize(*args)
|
||||||
super(<<-EOS)
|
super(<<-EOS)
|
||||||
By using --with-system-v8, you have chosen to use the version
|
By using --with-system-v8, you have chosen to use the version
|
||||||
of V8 found on your system and *not* the one that is bundled with
|
of V8 found on your system and *not* the one that is bundled with
|
||||||
the libv8 rubygem.
|
the libv8 rubygem.
|
||||||
|
|
||||||
However, your system version of v8 could not be located.
|
However, your system version of v8 could not be located.
|
||||||
|
|
||||||
Please make sure your system version of v8 that is compatible
|
Please make sure your system version of v8 that is compatible
|
||||||
with #{Libv8::VERSION} installed. You may need to use the
|
with #{Libv8::VERSION} installed. You may need to use the
|
||||||
--with-v8-dir option if it is installed in a non-standard location
|
--with-v8-dir option if it is installed in a non-standard location
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue