lib/bundler/cli.rb in bundler-0.9.0.pre5 vs lib/bundler/cli.rb in bundler-0.9.0
- old
+ new
@@ -8,20 +8,16 @@
module Bundler
class CLI < Thor
ARGV = ::ARGV.dup
- def self.banner(task)
- task.formatted_usage(self, false)
- end
-
desc "init", "Generates a Gemfile into the current working directory"
def init
if File.exist?("Gemfile")
- puts "Gemfile already exists at `#{Dir.pwd}/Gemfile`"
+ puts "Gemfile already exists at #{Dir.pwd}/Gemfile"
else
- puts "Writing new Gemfile to `#{Dir.pwd}/Gemfile`"
+ puts "Writing new Gemfile to #{Dir.pwd}/Gemfile"
FileUtils.cp(File.expand_path('../templates/Gemfile', __FILE__), 'Gemfile')
end
end
def initialize(*)
@@ -95,6 +91,6 @@
).compact.join(' ')
Kernel.exec *ARGV
end
end
-end
\ No newline at end of file
+end