Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WindowsでRubyを使用していますが、railsを使用してプロジェクトを作成すると、フォルダーがユーザーディレクトリに配置され、別の場所を指定したいと思います。どうすればいいですか?
次のように言うと、フルパスを指定できますrails new。
rails new
> rails new /some/path/where/you/want/your/app
これは、他の場所と同じようにWindowsでも機能するはずです。
コマンドの使用については、いつでも言うrails --helpかrails command --help、簡単なヘルプを得ることができrailsます。
rails --help
rails command --help
rails
プロジェクトを生成する前に、を使用cdして目的のディレクトリに移動します。
cd