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

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

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

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

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

Q&A

0回答

1836閲覧

ホームページを更新したい

shinnosuke-h

総合スコア6

Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

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

0グッド

0クリップ

投稿2017/03/20 04:38

編集2017/03/20 04:45

###前提・実現したいこと
ruby on railsをherokuでデプロイできるようなホームページを作成しています。
ウェブサイトを更新する際に、更新されなくて困っています。
###発生している問題・エラーメッセージ
https://kosaka.herokuapp.com/products上で

この箇所はホームページの説明文など記載するのに最適です。だいたい1行程度で収めるのがよいかと思います。 GitHubコミットのために現在

というのが、
IDE Cloud9上だと

** この箇所はHOPEPAGEの説明文など記載するのに最適です。おおよそ1行程度で収めるのがよいかと思います。
GitHubコミットのために現在利用中。
testtestest testtestest testtestest testtestest testtestest testtestest**

となっている。BitBucket上のコードも、IDE Cloud9とおなじ文言になったままです。
###試したこと
http://qiita.com/megu_ma/items/03388e1979b3fc0539f7
http://rinnegrid.hatenablog.com/entry/2015/04/15/071842
など、再デプロイという言葉を中心に検索をかけて色々なホームページの方法を試しましたが、12時間悩んでもどうにも進みません。

###補足情報(言語/FW/ツール等のバージョンなど)
shinnosukeh:/workspace/test.app (master) $ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
shinnosukeh:
/workspace/test.app (master) $ git push origin master:master
Warning: Permanently added 'bitbucket.org,104.192.143.3' (RSA) to the list of known hosts.
Counting objects: 2, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 226 bytes | 0 bytes/s, done.
Total 2 (delta 1), reused 0 (delta 0)
To bitbucket.org:shinnosuke-h/test_app.git
d0d728a..9753a7b master -> master
shinnosukeh:/workspace/test.app (master) $ git push heroku master
Warning: Permanently added 'bitbucket.org,104.192.143.1' (RSA) to the list of known hosts.
Everything up-to-date
shinnosukeh:
/workspace/test.app (master) $ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
shinnosukeh:/workspace/test.app (master) $ git fetch
Warning: Permanently added 'bitbucket.org,104.192.143.3' (RSA) to the list of known hosts.
shinnosukeh:
/workspace/test.app (master) $ git remote add heroku git@bitbucket.org:shinnosuke-h/test_app.git
fatal: remote heroku already exists.
shinnosukeh:/workspace/test.app (master) $ git remote rm heroku
shinnosukeh:
/workspace/test.app (master) $ git remote add heroku git@bitbucket.org:shinnosuke-h/test_app.git
shinnosukeh:/workspace/test.app (master) $ git push heroku master
Warning: Permanently added 'bitbucket.org,104.192.143.2' (RSA) to the list of known hosts.
Everything up-to-date
shinnosukeh:
/workspace/test.app (master) $ heroku info
▸ No app specified.
▸ USAGE: heroku info my-app
shinnosukeh:/workspace/test.app (master) $ heroku info kosaka.herokuapp.com/
▸ The requested API endpoint was not found. Are you using the right HTTP verb (i.e. GET vs. POST), and did you specify your intended version with the
Accept header?
shinnosukeh:
/workspace/test.app (master) $ heroku info --kosaka
▸ Error: Unexpected flag --kosaka
▸ Usage: heroku info

▸ This flag is invalid for this command. Here are the accepted flags:
▸ -a, --app APP # app to run command against
▸ -j, --json
▸ -r, --remote REMOTE # git remote of app to run command against
▸ -s, --shell # output more shell friendly key/value pairs

▸ See more information with heroku info --help
shinnosukeh:/workspace/test.app (master) $ heroku info --app kosaka
=== kosaka
Addons: heroku-postgresql:hobby-dev
Dynos: web: 1
Git URL: https://git.heroku.com/kosaka.git
Owner: h-sinnosuke@hotmail.co.jp
Region: us
Repo Size: 292 KB
Slug Size: 35 MB
Stack: cedar-14
Web URL: https://kosaka.herokuapp.com/
shinnosukeh:
/workspace/test.app (master) $ git clone kosaka.git
fatal: repository 'kosaka.git' does not exist
shinnosukeh:/workspace/test.app (master) $ git clone https://git.heroku.com/kosaka.git
Cloning into 'kosaka'...
remote: Counting objects: 152, done.
remote: Compressing objects: 100% (110/110), done.
remote: Total 152 (delta 22), reused 152 (delta 22)
Receiving objects: 100% (152/152), 283.24 KiB | 350.00 KiB/s, done.
Resolving deltas: 100% (22/22), done.
shinnosukeh:
/workspace/test.app (master) $ git add .
shinnosukeh:/workspace/test.app (master) $ git commit -m "release-1.0.1"
[master 8a44305] release-1.0.1
1 file changed, 1 insertion(+)
create mode 160000 kosaka
shinnosukeh:
/workspace/test.app (master) $ git push origin master
Warning: Permanently added 'bitbucket.org,104.192.143.2' (RSA) to the list of known hosts.
Counting objects: 2, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 263 bytes | 0 bytes/s, done.
Total 2 (delta 1), reused 0 (delta 0)
To bitbucket.org:shinnosuke-h/test_app.git
9753a7b..8a44305 master -> master
shinnosukeh:/workspace/test.app (master) $
shinnosukeh:
/workspace/test.app (master) $

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

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

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

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

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

gouf

2017/04/20 12:59

変更をコミットしたあと、あらためてHeroku にpush されましたか?(今一度実施してみてください)
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

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

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

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問