Skip to content
Browse files

Fix the rouge binary for gem use.

  • Loading branch information...
1 parent ebcba17 commit ee51efc87de8a1ebb27f75cc195e8c1af602db23 Arlen Christian Mart Cuss committed Dec 4, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 bin/rouge
View
8 bin/rouge
@@ -1,2 +1,6 @@
-#!/bin/sh
-ruby -I"`dirname $0`/../lib" -rrouge -e'Rouge.repl(ARGV)' -- "$@"
+#!/usr/bin/env ruby
+# The Rouge REPL/interpreter.
+
+$: << "#{File.dirname(__FILE__)}/../lib"
+require 'rouge'
+Rouge.repl(ARGV)

0 comments on commit ee51efc

Please sign in to comment.
Something went wrong with that request. Please try again.