Permalink
Browse files

Update post-generate info in dm-rails template

  • Loading branch information...
1 parent c61684a commit c4b67a775796910cc6e3daaa1d7885710a9e055e @solnic solnic committed Oct 13, 2011
Showing with 4 additions and 7 deletions.
  1. +4 −7 templates/rails/application.rb
@@ -30,22 +30,19 @@ def compile(str, requirements, separators, anchor)
say ''
say '---------------------------------------------------------------------------'
say "Edit your Gemfile (do not forget to run 'bundle install' after doing that)"
-say "Some of the following commands assume that you passed the --binstubs option"
-say "to bundle install. If you haven't done so, use 'bundle exec rake' where the"
-say "examples below use './bin/rake'"
say '---------------------------------------------------------------------------'
say 'If you want to use rspec for testing, you first need to uncomment the line'
say "that declares it in the Gemfile. The you need to run 'bundle install' again"
say "Once that's done, you need to actually install it into your app and update"
say "your spec_helper as shown in the dm-rails README"
say '---------------------------------------------------------------------------'
-say 'Install rspec (optional): rails g rspec:install'
+say 'Install rspec (optional): script/rails g rspec:install'
say 'Have a look at the dm-rails README: http://github.com/datamapper/dm-rails'
say '---------------------------------------------------------------------------'
-say 'Have a look at available rake tasks: ./bin/rake -T'
+say 'Have a look at available rake tasks: rake -T'
say 'Generate a simple scaffold: rails g scaffold Person name:string'
-say 'Create, automigrate and seed the DB: ./bin/rake db:setup'
-say 'Start the server: rails server'
+say 'Create, automigrate and seed the DB: rake db:setup'
+say 'Start the server: script/rails server'
say '---------------------------------------------------------------------------'
say 'After the sever booted, point your browser at http://localhost:3000/people'
say '---------------------------------------------------------------------------'

0 comments on commit c4b67a7

Please sign in to comment.