読者です 読者をやめる 読者になる 読者になる

rails の rake タスクの定義場所一覧を出す

$ rake -W
rake db:drop                        /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:174:in `block in <top (required)>'
rake db:drop:all                    /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:159:in `block (2 levels) in <top (required)>'
rake db:fixtures:identify           /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:364:in `block (2 levels) in <top (required)>'
rake db:fixtures:load               /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:352:in `block (2 levels) in <top (required)>'
rake db:forward                     /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:281:in `block in <top (required)>'
rake db:load_config                 /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:24:in `block in <top (required)>'
rake db:migrate                     /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:191:in `block in <top (required)>'
rake db:migrate:down                /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:235:in `block (2 levels) in <top (required)>'
rake db:migrate:redo                /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:213:in `block (2 levels) in <top (required)>'
rake db:migrate:reset               /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:224:in `block (2 levels) in <top (required)>'
rake db:migrate:status              /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:243:in `block (2 levels) in <top (required)>'
rake db:migrate:up                  /Users/hrysd/hoge/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/railties/databases.rake:227:in `block (2 levels) in <top (required)>'