Skip to content

Commit

Permalink
Change how the pathname is received in haste-client
Browse files Browse the repository at this point in the history
  • Loading branch information
seejohnrun committed Jan 28, 2012
1 parent cf4c274 commit 636eec2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/haste
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../lib/haste'
require 'pathname'
path = Pathname.new(__FILE__)
require File.expand_path(File.dirname(path.realpath) + '/../lib/haste')

cli = Haste::CLI.new
cli.start

0 comments on commit 636eec2

Please sign in to comment.