gitdoc/tasks.rb in gitdoc-4.3.0 vs gitdoc/tasks.rb in gitdoc-4.4.0
- old
+ new
@@ -1,6 +1,6 @@
task :dev do
- unless $LOAD_PATH.last =~ /gitdoc$/
+ unless $LOAD_PATH.grep /gitdoc$/
abort "Run rake with the path to GitDocs's source to use dev mode\n"+
"Eg. rake -I ~/Projects/gitdoc dev"
end
exec "shotgun -I #{$LOAD_PATH.last}"
end