Skip to content

Commit

Permalink
Replace static reference to bin/todo in scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwynn committed Dec 10, 2012
1 parent aff349b commit 6ac7be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gli/commands/scaffold.rb
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def self.mk_binfile(root_dir,create_ext_dir,force,dry_run,project_name,commands)
begin # XXX: Remove this begin/rescue before distributing your app
require '#{project_name}'
rescue LoadError
STDERR.puts "In development, you need to use `bundle exec bin/todo` to run your app"
STDERR.puts "In development, you need to use `bundle exec bin/#{project_name}` to run your app"
STDERR.puts "At install-time, RubyGems will make sure lib, etc. are in the load path"
STDERR.puts "Feel free to remove this message from bin/#{project_name} now"
exit 64
Expand Down

0 comments on commit 6ac7be7

Please sign in to comment.