Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
c87fa776
Commit
c87fa776
authored
Aug 11, 2011
by
Cuong Tran
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #43 from turadg/master
Explain how to install into Gemfile using latest code from Github
parents
1e9a75ee
4db58f70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
README.rdoc
README.rdoc
+11
-3
No files found.
README.rdoc
View file @
c87fa776
...
@@ -38,19 +38,27 @@ Also, if you pass the -r option, it'll annotate routes.rb with the output of "ra
...
@@ -38,19 +38,27 @@ Also, if you pass the -r option, it'll annotate routes.rb with the output of "ra
== INSTALL
== INSTALL
From rubyforge:
Into Gemfile from Github:
gem 'annotate', :git => 'git://github.com/ctran/annotate_models.git'
Into environment gems From Rubygems.org:
sudo gem install annotate
sudo gem install annotate
From github
:
Into environment gems from Github checkout
:
git clone git://github.com/ctran/annotate_models.git annotate
git clone git://github.com/ctran/annotate_models.git annotate
cd annotate
cd annotate
rake gem
rake gem
sudo gem install pkg/annotate-*.gem
sudo gem install pkg/annotate-*.gem
== USAGE
== USAGE
(If you used the Gemfile install, prefix the below commands with `bundle exec`.)
To annotate all your models, tests, fixtures, etc.:
To annotate all your models, tests, fixtures, etc.:
cd /path/to/app
cd /path/to/app
...
@@ -70,7 +78,7 @@ To annotate routes.rb:
...
@@ -70,7 +78,7 @@ To annotate routes.rb:
To automatically annotate after running 'rake db:migrate':
To automatically annotate after running 'rake db:migrate':
[
needs more clarity
] unpack the gem into vendor/plugins, or maybe vendor/gems, or maybe just require tasks/migrate.rake.
[
*needs more clarity*
] unpack the gem into vendor/plugins, or maybe vendor/gems, or maybe just require tasks/migrate.rake.
If you install annotate_models as a plugin, it will automatically
If you install annotate_models as a plugin, it will automatically
adjust your <tt>rake db:migrate</tt> tasks so that they update the
adjust your <tt>rake db:migrate</tt> tasks so that they update the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment