data/ore/templates/bin/bin/[name].erb in ore-0.8.1 vs data/ore/templates/bin/bin/[name].erb in ore-0.9.0
- old
+ new
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
-<%- if (bundler? && git?) -%>
+<%- if (bundler? && (git? || hg?)) -%>
root_dir = File.expand_path(File.join(File.dirname(__FILE__),'..'))
if File.directory?(File.join(root_dir,'.git'))
Dir.chdir(root_dir) do |path|
require 'bundler'