Railsコマンド集
rails
Usage: /usr/bin/rails /path/to/your/app [options]
Options:
|
-r, --ruby=path
|
Path to the Ruby binary of your choice (otherwise scripts use env, dispatchers current path).
|
Default: /usr/bin/ruby
|
-d, --database=name
|
Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite2/sqlite3).
|
Default: mysql
|
-f, --freeze
|
Freeze Rails in vendor/rails from the gems generating the skeleton
|
Default: false
|
Rails Info:
|
-v, --version
|
Show the Rails version number and quit.
|
-h, --help
|
Show this help message and quit.
|
General Options:
|
-p, --pretend
|
Run but do not make any changes.
|
--force
|
Overwrite files that already exist.
|
-s, --skip
|
Skip files that already exist.
|
-q, --quiet
|
Suppress normal output.
|
-t, --backtrace
|
Debugging: show backtrace on errors.
|
-c, --svn
|
Modify files with subversion. (Note: svn must be in path)
|