Reputation: 565
I am using Ruby on Windows and when I use rails to create a project it puts the folder in my user directory, I'd like to specify another location. How would I do this?
Upvotes: 0
Views: 1963
Reputation: 434665
You can specify a full path when you say rails new
:
> rails new /some/path/where/you/want/your/app
That should work in Windows just like everywhere else.
You can always say rails --help
or rails command --help
to get some quick help on using the rails
command.
Upvotes: 3
Reputation: 4877
use cd
to move to the directory you want it in before generating the project.
Upvotes: 0