Bash on Ubuntu on WindowsでRailsプロジェクトを作成したところ、一部ファイルがBashから認識されません。
ファイルが存在していないわけではなく、エクスプローラーやWindowsのコマンドからは確認できます。
Bashで確認した場合
drwxrwxrwx 2 root root 0 Sep 29 23:03 . drwxrwxrwx 2 root root 0 Sep 29 22:52 .. drwxrwxrwx 2 root root 0 Sep 29 22:52 .bundle -rw-rw-rw- 1 root root 543 Sep 29 22:51 .gitignore -rw-rw-rw- 1 root root 4253 Sep 29 23:08 Gemfile.lock -rw-rw-rw- 1 root root 374 Sep 29 22:51 README.md -rw-rw-rw- 1 root root 227 Sep 29 22:51 Rakefile drwxrwxrwx 2 root root 0 Sep 29 22:51 app drwxr-xr-x 2 root root 0 Sep 29 22:51 bin drwxrwxrwx 2 root root 0 Sep 29 22:51 config -rw-rw-rw- 1 root root 130 Sep 29 22:51 config.ru drwxrwxrwx 2 root root 0 Sep 29 23:13 db drwxrwxrwx 2 root root 0 Sep 29 22:51 lib drwxrwxrwx 2 root root 0 Sep 29 23:09 log drwxrwxrwx 2 root root 0 Sep 29 22:51 public drwxrwxrwx 2 root root 0 Sep 29 22:51 test drwxrwxrwx 2 root root 0 Sep 29 23:09 tmp drwxrwxrwx 2 root root 0 Sep 30 21:29 vendor
Windowsのコマンドで確認した場合
2016/09/30 21:37 <DIR> . 2016/09/30 21:37 <DIR> .. 2016/09/29 22:52 <DIR> .bundle 2016/09/29 22:51 543 .gitignore 2016/09/29 22:51 <DIR> app 2016/09/29 22:51 <DIR> bin 2016/09/29 22:51 <DIR> config 2016/09/29 22:51 130 config.ru 2016/09/29 23:13 <DIR> db 2016/09/30 21:35 1,746 Gemfile 2016/09/29 23:08 4,253 Gemfile.lock 2016/09/29 22:51 <DIR> lib 2016/09/29 23:09 <DIR> log 2016/09/29 22:51 <DIR> public 2016/09/29 22:51 227 Rakefile 2016/09/29 22:51 374 README.md 2016/09/29 22:51 <DIR> test 2016/09/29 23:09 <DIR> tmp 2016/09/30 21:29 <DIR> vendor
上記の例では、Gemfileが認識されていません。
この状態を解消する方法はあるのでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/10/01 15:08