bin/pelusa in pelusa-0.0.1 vs bin/pelusa in pelusa-0.0.2
- old
+ new
@@ -1,7 +1,13 @@
#!/usr/bin/env ruby
$:.unshift(File.dirname(__FILE__) + '/../lib')
+warning = %q{Pelusa needs Rubinius to run in 1.9 mode.
+Please either `export RBXOPT=-X19` before running it or compile Rubinius with
+1.9 support enabled by default.}
+
+abort warning unless Rubinius.ruby19?
+
require 'pelusa'
cli = Pelusa::Cli.new(ARGV)
exit cli.run