Last active
October 30, 2018 08:17
-
-
Save emorima/6eaea604940303383eb438f799adc6cf to your computer and use it in GitHub Desktop.
メモ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* デフォルトだと日本語対応していない | |
* Defaultのterminalだとスクロールが表示されないため、エラーが発生した時とかにログが見えない | |
** ssh-serverをインストールして、Teratermなどで対応? | |
→ ログインに時間かかる... | |
* 「現場で使える~」では、rbenv での環境構築となっているが、RGのLinux Ubuntuインストールではshellでrvmでインストールされる | |
RVMだとこれが出る。 | |
``` | |
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too, | |
you can ignore these warnings with 'rvm rvmrc warning ignore /home/emori/book_collection/Gemfile'. | |
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'. | |
``` | |
* 自分のパスワードを忘れた場合は、Windows commandプロンプトから、以下を実行して切り替えられる | |
``` | |
ubuntu config --default-user name | |
``` | |
* sudoersには自動登録されているので、`sudo su -` で自分のパスワード入力で rootになれる | |
* Windowsの Cドライブが /mnt/c で参照できるので、Atomで編集、Terminalで、 /mnt/c 以下に移動して `rails s` は可能 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment