summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorethanez713 <ethanez713@gmail.com>2015-07-16 18:57:39 -0400
committerethanez713 <ethanez713@gmail.com>2015-07-16 18:57:39 -0400
commit693ddf51faabc2ae0089f8371fed38b7e47ceb9a (patch)
tree0e0340ca5c97eb8ee6c38280ec2efc6793422a43
parent6b32a4e3a5d87b95a4dc62622091fbafbab62601 (diff)
downloadbundler-693ddf51faabc2ae0089f8371fed38b7e47ceb9a.tar.gz
Update README.md.tt
Under the "Development" header, the README was telling users to run "rake rspec" if the RSpec gem is being used. However, in lib/bundler/templates/newgem/Rakefile.tt, the rake task that runs RSpec is named 'spec', rather than 'rspec'. I changed the generated README text to read 'rake spec' instead of 'rake rspec'. Also: Should I write a test for this change?
-rw-r--r--lib/bundler/templates/newgem/README.md.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/templates/newgem/README.md.tt b/lib/bundler/templates/newgem/README.md.tt
index 064381e908..8a767d5e45 100644
--- a/lib/bundler/templates/newgem/README.md.tt
+++ b/lib/bundler/templates/newgem/README.md.tt
@@ -26,7 +26,7 @@ TODO: Write usage instructions here
## Development
-After checking out the repo, run `bin/setup` to install dependencies.<% if config[:test] %> Then, run `rake <%= config[:test].sub('mini', '') %>` to run the tests.<% end %> You can also run `bin/console` for an interactive prompt that will allow you to experiment.<% if config[:bin] %> Run `bundle exec <%= config[:name] %>` to use the gem in this directory, ignoring other installed copies of this gem.<% end %>
+After checking out the repo, run `bin/setup` to install dependencies.<% if config[:test] %> Then, run `rake <%= config[:test].sub('mini', '').sub('rspec', 'spec') %>` to run the tests.<% end %> You can also run `bin/console` for an interactive prompt that will allow you to experiment.<% if config[:bin] %> Run `bundle exec <%= config[:name] %>` to use the gem in this directory, ignoring other installed copies of this gem.<% end %>
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).