質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Cloud9

Cloud9は、クラウドからのプログラミングが可能になるWebサービス。IDEとしての機能が搭載されており、GitHubやHerokuなど他ツールとの連携も可能です。ブラウザ上で動くため、デバイスに関係なく開発環境を準備できます。

Ruby on Rails 5

Ruby on Rails 5は、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

BitBucket

BitBucketは無料のリポジトリ管理ホスティングサービスです。 MercurialとGitのVCSに対応しています。プライベートリポジトリを、制限なく作成することが可能です。

Q&A

0回答

316閲覧

BitBucketにアップロードしたソースコードをデプロイしたい。

Eston

総合スコア67

Cloud9

Cloud9は、クラウドからのプログラミングが可能になるWebサービス。IDEとしての機能が搭載されており、GitHubやHerokuなど他ツールとの連携も可能です。ブラウザ上で動くため、デバイスに関係なく開発環境を準備できます。

Ruby on Rails 5

Ruby on Rails 5は、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

BitBucket

BitBucketは無料のリポジトリ管理ホスティングサービスです。 MercurialとGitのVCSに対応しています。プライベートリポジトリを、制限なく作成することが可能です。

0グッド

0クリップ

投稿2018/02/22 03:18

編集2022/01/12 10:55

なんどもすみません。
再度、Ruby on Railsチュートリアル
(https://railstutorial.jp/chapters/toy_app?version=5.1#sec-toy_app_what_we_learned_in_this_chapter)
に関する質問です。

"Ruby on Rails チュートリアルで学んだことを残しておく"というサイト
https://qiita.com/yu_p_tech/items/be61e895bc8f190359d4
を補助教材として、参考にしています。

<Cloud9上のコード>
Bundle complete! 16 Gemfile dependencies, 70 gems now installed.
Gems in the group production were not installed.
Use bundle info [gemname] to see where a bundled gem is installed.
ec2-user:/environment/toy_app (master) $ heroku login
Enter your Heroku credentials:
Email: メールアドレス
Password: ************
Logged in as メールアドレス
ec2-user:
/environment/toy_app (master) $ heroku keys:add
Found an SSH public key at /home/ec2-user/.ssh/id_rsa.pub
? Would you like to upload it to Heroku? Yes
Uploading /home/ec2-user/.ssh/id_rsa.pub SSH key... done
ec2-user:/environment/toy_app (master) $ heroku create
Creating app... !
▸ You've reached the limit of 5 apps for unverified accounts. Delete some apps or add a credit card to verify your
ec2-user:
/environment/toy_app (master) $ git push heroku master
fatal: 'heroku' does not appear to be a git repositoryster)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
ec2-user:/environment/toy_app (master) $ git status
On branch master
nothing to commit, working tree clean
ec2-user:
/environment/toy_app (master) $ git push --mirror git@bitbucket.org:kazukafka/toy_app
Enter passphrase for key '/home/ec2-user/.ssh/id_rsa':
Everything up-to-date

</終わり>

ー1ー
You've reached the limit of 5 apps for unverified accounts. Delete some apps or add a credit card to verify your

の部分の問題としては
1) 5つもアプリを作ったことがないのに、なぜ、5つあることになっているのか?
2) 削除するにはどうするのか?

ー2ー
ec2-user:~/environment/toy_app (master) $ git push heroku master
fatal: 'heroku' does not appear to be a git repositoryster)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

の部分に関しては
全くわからない

という状況です。

もし、同じ状況を学習過程で体験したり、解決方法をご存知の方は、詳しく教えていただけると助かります。

追記
Enter your Heroku credentials:
Email: メールアドレス
Password: ************
Logged in as メールアドレス
ec2-user:/environment/toy_app (master) $ heroku git:remote -a abetestapp
▸ You do not have access to the app abetestapp.
ec2-user:
/environment/toy_app (master) $ git push heroku master
fatal: 'heroku' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
ec2-user:~/environment/toy_app (master) $

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問