lib/bundler/cli/gem.rb in bundler-1.13.0.rc.1 vs lib/bundler/cli/gem.rb in bundler-1.13.0.rc.2
- old
+ new
@@ -124,10 +124,10 @@
thor.template("newgem/#{src}", target.join(dst), config)
end
executables.each do |file|
path = target.join(file)
- executable = (path.stat.mode | 0111)
+ executable = (path.stat.mode | 0o111)
path.chmod(executable)
end
Bundler.ui.info "Initializing git repo in #{target}"
Dir.chdir(target) do