def check_library_version_against v
unless Redwood::VERSION == v
$stderr.puts "Error: version mismatch!\nThe sup executable is at version \#{v.inspect}.\nThe sup libraries are at version \#{Redwood::VERSION.inspect}.\n\nYour development environment may be picking up code from a\nrubygems installation of sup.\n\nIf you're running from git with a commandline like\n\n ruby -Ilib \#{$0}\n\ntry this instead:\n\n RUBY_INVOCATION=\"ruby -Ilib\" ruby -Ilib \#{$0}\n\nYou can also try `gem uninstall sup` and removing all Sup rubygems.\n\n"
abort
end
end