Skip to content

Commit c87fa77

Browse files
committed
Merge pull request #43 from turadg/master
Explain how to install into Gemfile using latest code from Github
2 parents 1e9a75e + 4db58f7 commit c87fa77

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.rdoc

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,27 @@ Also, if you pass the -r option, it'll annotate routes.rb with the output of "ra
3838

3939
== INSTALL
4040

41-
From rubyforge:
41+
Into Gemfile from Github:
42+
43+
gem 'annotate', :git => 'git://github.com/ctran/annotate_models.git'
44+
45+
46+
Into environment gems From Rubygems.org:
4247

4348
sudo gem install annotate
4449

45-
From github:
50+
Into environment gems from Github checkout:
4651

4752
git clone git://github.com/ctran/annotate_models.git annotate
4853
cd annotate
4954
rake gem
5055
sudo gem install pkg/annotate-*.gem
5156

57+
5258
== USAGE
5359

60+
(If you used the Gemfile install, prefix the below commands with `bundle exec`.)
61+
5462
To annotate all your models, tests, fixtures, etc.:
5563

5664
cd /path/to/app
@@ -70,7 +78,7 @@ To annotate routes.rb:
7078

7179
To automatically annotate after running 'rake db:migrate':
7280

73-
[needs more clarity] unpack the gem into vendor/plugins, or maybe vendor/gems, or maybe just require tasks/migrate.rake.
81+
[*needs more clarity*] unpack the gem into vendor/plugins, or maybe vendor/gems, or maybe just require tasks/migrate.rake.
7482

7583
If you install annotate_models as a plugin, it will automatically
7684
adjust your <tt>rake db:migrate</tt> tasks so that they update the

0 commit comments

Comments
 (0)