Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update "using-a-cloud-service-c9" #480

Merged

Conversation

tanaken0515
Copy link
Contributor

Cloud9を利用する場合の手順を更新しました。


### *4.* 標準でインストールされている RVM をアンインストールする

#### *4.1.* RVM 関連ファイルの削除
{% highlight sh %}
/usr/bin/sudo rm -rf $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh /usr/local/rvm /usr/local/bin/rvm
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 $HOME/.rvm 以外はもともと存在していませんでした


### *4.* 標準でインストールされている RVM をアンインストールする

#### *4.1.* RVM 関連ファイルの削除
{% highlight sh %}
/usr/bin/sudo rm -rf $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh /usr/local/rvm /usr/local/bin/rvm
/usr/bin/sudo /usr/sbin/groupdel rvm
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 rvm というグループは存在していませんでした

$ /usr/bin/sudo /usr/sbin/groupdel rvm
groupdel: group 'rvm' does not exist

* [Welcome to AWS Cloud9](https://console.aws.amazon.com/cloud9/home/product) にアクセスしてください。(サインインしていない場合は先にサインインをしてください)
* Create environment をクリックします。
* Environment name には好きな名前をつけましょう。Descriptionは任意なので空欄でも構いません。Next Step をクリックしましょう。
* Configure settings では Platform に Ubuntu Server を指定してください。その他は初期設定のままでOKです。Next Step をクリックしてください。
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝2019/10/05現在、Amazon Linux を指定すると SQLite 3.7.17 がデフォルトで、後々 Railsアプリケーションを動かそうとしたときに Your version of SQLite (3.7.17) is too old. Active Record supports SQLite >= 3.8. と怒られることになります。簡略化のために Ubuntu Server を指定することにしました。

@igaiga
Copy link
Contributor

igaiga commented Oct 6, 2019

丁寧に書き換えていただきありがとうございます!マージします!

@igaiga igaiga merged commit 2d91260 into railsgirls-jp:master Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants