An easy way to rename your Rails app project
Inside a rails app directory:
$ rake rails:rename[NewAppName]
OldAppName -> NewAppName, these files will be affected, append 'confirm' to apply
Rakefile
app/views/layouts/application.html.erb
config/application.rb
config/environment.rb
config/environments/development.rb
config/environments/production.rb
config/environments/test.rb
config/initializers/secret_token.rb
config/initializers/session_store.rb
config/routes.rb
config.ru
Current app name is: OldAppName
$ rake rails:rename[NewAppName,confirm]
Current app name is: NewAppName
In Gemfile
gem 'rails_rename'
bundle install
Copyright (c) Luigi Maselli
Released under the MIT license. See MIT-LICENSE file for details.