Skip to content

Commit

Permalink
Abort unless Rubinius.ruby19?
Browse files Browse the repository at this point in the history
  • Loading branch information
Josep M. Bach committed Feb 15, 2012
1 parent bebcf73 commit 2973226
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/pelusa
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
$:.unshift(File.dirname(__FILE__) + '/../lib') $:.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' require 'pelusa'


cli = Pelusa::Cli.new(ARGV) cli = Pelusa::Cli.new(ARGV)
Expand Down

0 comments on commit 2973226

Please sign in to comment.