We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a9eb76 commit 47c30e9Copy full SHA for 47c30e9
bin/hatter
@@ -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
+#!/usr/bin/env ruby
+$LOAD_PATH.unshift File.expand_path('../lib')
+require 'hatter'
0 commit comments