bin/alephant-preview in alephant-preview-0.3.1 vs bin/alephant-preview in alephant-preview-0.3.2
- old
+ new
@@ -3,11 +3,13 @@
require 'pathname'
require 'trollop'
root = Pathname.new(__FILE__).dirname.parent
lib_path = (root + 'lib').realdirpath
+current_dir = File.join(Dir.pwd, "lib")
$LOAD_PATH.unshift(lib_path)
+$LOAD_PATH.unshift(current_dir)
require 'alephant/preview'
require 'alephant/preview/tasks'
SUB_COMMANDS = %w(preview)