Creates a new Rails applications in subdirectory foo
.
Runs all migrations to bring the database up to date.
Drops the database, creates a new one, and runs all migrations to bring the database up to date.
rake db:migrate VERSION=20090909201633_create_photos.rb
Runs migrations (either forward or backward) to restore the database to match the state just after the given migration.
Updates all Ruby Gems.
gem update rails--include-dependencies
Updates Rails to the latest version, including all Gems that Rails depends upon.
Updates Ruby to the latest version.
bundle exec gem uninstall GEM_NAME
沒有留言:
張貼留言