RailsRenamer
A gem to help you rename your Rails application after creating it.
Installation
Add this line to your application's Gemfile:
gem 'rails_renamer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails_renamer
Usage
The easiest way to use the gem is to do the following:
- Add it to your application's Gemfile.
- Open the Rails console (rails c).
- Run the following command:
RailsRenamer.rename_current_application('./', new_application_name)
wherenew_application_name
is your new desired app name.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request