Quick-and-dirty substitute for Launchy gem.
Open link in the default web browswer.
# File hack_launchy.rb, line 12 def self.open(link) if OS.windows? system "start #{link}" elsif OS.mac? system "open #{link}" elsif OS.linux? or OS.bsd? system "xdg-open #{link}" else STDERR.puts "Don't recognize your operating system." STDERR.puts "Guessing Windows, trying to open browser." system "start #{link}" end end