How to remove an application from a Rails project?

At first I made 2 applications (app_a and app_b) in one project in Ruby. Now I want to remove it (say app_a). How should I do it? Is it enough to delete the application folder?

+4
source share
2 answers

You need to drop the appropriate database and then delete the application directory

# from app directory
rake db:drop
cd .. && rm -rf app_a

The Rails generator command creates a copy of the framework. The application directory identifier itself. Removing enough. If you use sqliteas a database, you can skip the first command.

+13
source

. , , , .

0

All Articles