lib/Gemfiler/cli.rb in gemfiler-0.1.0 vs lib/Gemfiler/cli.rb in gemfiler-0.1.1

- old
+ new

@@ -2,11 +2,11 @@ module Gemfiler class CLI < Thor desc 'file', 'Organizes your Gemfile.' - def file(gemfile='./Gemfile') - gemfile = File.expand_path("../../../#{gemfile}", __FILE__) + def file(gemfile='Gemfile') + gemfile = "#{Dir.pwd}/#{gemfile}" cabinet = Gemfiler::Cabinet.new(gemfile) cabinet.collect! filer = Gemfiler::Filer.new(cabinet) \ No newline at end of file