Dear all
I am newbie in ruby on rail and i have some question about how to
delete
project by rails.
when i wanted to create project, I can use rails new project -d
*postgresql
*but when i wanted to delete project i don’t know the command.
Regards
On 20 April 2013 07:13, Thaweesak C. [email protected]
wrote:
Dear all
I am newbie in ruby on rail and i have some question about how to delete
project by rails.
when i wanted to create project, I can use rails new project -d postgresql
but when i wanted to delete project i don’t know the command.
Just delete the complete folder (project in the example you showed).
Colin
On Sat, Apr 20, 2013 at 3:35 AM, Colin L. [email protected]
wrote:
Just delete the complete folder (project in the example you showed).
One caveat: if you installed gems into an external gemset, those will
hang around. A couple alternative:
-
Put them in a project-specific rvm gemset when starting the project,
then delete that too when you want to delete the alternative. If you
feel like manipulating your gem path manually (or via other tools),
you can put them in various other places.
-
Have bundler put them in vendor or some such subdir, when you start
the project, and that will get deleted along with the project
directory.
-Dave
–
Dave A., the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
available for contracts or temp employment.
See information at http://www.Codosaur.us/.