Displaying 1 result from an estimated 1 matches for "require2lib".
2006 May 26
3
Packaging with mongrel
...p the server and allows rubyscript2exe to gather all the appropriate libraries. This is not what we want when we actually run the packaged exe - so we set a condition in the init.rb file that uses the thread during packaging and starts the server normally when we run the packaged exe:
if defined?(REQUIRE2LIB)
threadno1 = Thread.new {
ARGV << "start" << "-n" << "20"
version = "> 0"
if ARGV.size > 0 && ARGV[0][0]==95 && ARGV[0][-1]==95
if Gem::Version.correct?(ARGV[0][1..-2])
version = ARGV[0...