Skip to content

Commit 47c30e9

Browse files
committed
Update the hatter/bin script.
Now uses /usr/bin/env ruby to launch hatter.
1 parent 7a9eb76 commit 47c30e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/hatter

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/bash
2-
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
3-
cd $DIR && cd .. && bundle exec ruby -I lib lib/hatter.rb
1+
#!/usr/bin/env ruby
2+
$LOAD_PATH.unshift File.expand_path('../lib')
3+
require 'hatter'

0 commit comments

Comments
 (0)