Godfrey Chan
9e80c29cd5
rake initializer
-> rake initializers
...
Also edited the copy to be more consistent with `rake routes`.
See #19323 .
2015-03-20 15:51:01 -07:00
Naoto Kaneko
baa9ffb822
Add rake initializer
...
This task prints out initializers for an application. It is useful to
develop a rubygem which involves the initialization process.
2015-03-14 01:41:21 +09:00
Hyonjee Joo
b181297ad7
Created rake restart task.
...
Fixes #18876 . Rake restart touches `tmp/restart.txt` to restart
application on next request. Updated tests and documentation
accordingly.
2015-02-26 15:26:59 -05:00
Xavier Noria
bde5f345de
Remove reference to the now done documentation.rake
2015-02-06 21:25:09 +01:00
Akira Matsuda
ae54cb29d4
require 'rake' before requiring Rake tasks
...
Without this,
% rails r "require 'rails/tasks'"
would cause a NoMethodError: undefined method `desc' for main:Object
2014-12-03 06:28:09 +09:00
Tyler Rick
9affba83f5
Remove $VERBOSE = nil from tasks.rb
...
Permanently setting $VERBOSE to nil causes unwanted side effects (warnings generated by app code are
silenced when triggered by a rake task but visible otherwise). silence_warnings {} would be safer to
use here since it resets $VERBOSE back to what it was when the block finishes.
2013-07-25 11:54:24 -07:00
Prathamesh Sonpatki
f8a3dda6ce
Fxied some typos
2013-05-18 19:23:30 +05:30
José Valim
c690b7124d
[IMPORTANT] Make "sprockets/railtie" require explicit.
...
This makes "sprockets/railtie" explicit. This means that sprockets will
be loaded when you require "rails/all". If you are not using requiring
"rails/all", you need to manually load it with all other framework
railties.
In order to be complete, this commit also adds --skip-sprockets to
the rails generator.
2011-06-29 09:41:16 -03:00
José Valim
afc828828f
Remove the ability for engines to serve assets from the public directory.
2011-04-15 19:57:52 +02:00
Joshua Peek
10c7e61825
Need to load assets task file
2011-03-21 18:09:23 -05:00
Piotr Sarnacki
24d2d6726e
Added task for creating symlinks to engines' public directories
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-06 14:38:36 +02:00
Carlhuda
c7c3eac762
Test::Unit Railtie
2010-01-28 09:55:29 -08:00
Carl Lerche
49c800b6bd
Move the ActiveRecord related rake tasks into the AR gem.
2009-12-28 17:53:05 -08:00
Carl Lerche
34eac1cf1c
Load application specific rake tasks in the application object
2009-11-25 14:29:28 -08:00
Carl Lerche
e1fdc8bba3
Remove config.gem in favor of using the bundler. This makes config/boot.rb obsolete.
...
The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem.
2009-10-16 18:10:52 -07:00
Carl Lerche
2110a524a4
Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the application's object root)
2009-10-16 12:51:02 -07:00
Yehuda Katz + Carl Lerche
f0dd77c6be
Move railties/lib/* into railties/lib/*
2009-09-24 16:11:41 -07:00