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

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

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

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Ruby on Rails

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

Q&A

解決済

1回答

589閲覧

herokuでデプロイができない

yamada_yuuki

総合スコア100

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Ruby on Rails

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

0グッド

0クリップ

投稿2019/09/12 12:02

編集2019/09/12 12:03

前提・実現したいこと

https://www.m3tech.blog/entry/2017/10/05/103507
のサイトをものにrailsでアプリを作っていなのですがherokuでデプロイするときに
はまってしまいました。

発生している問題・エラーメッセージ

We're sorry, but something went wrong.

pushしたとき

Enumerating objects: 6, done. Counting objects: 100% (6/6), done. Delta compression using up to 4 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 535 bytes | 107.00 KiB/s, done. Total 4 (delta 1), reused 0 (delta 0) remote: Compressing source files... done. remote: Building source: remote: remote: -----> Node.js app detected remote: remote: -----> Creating runtime environment remote: remote: NPM_CONFIG_LOGLEVEL=error remote: NODE_ENV=production remote: NODE_MODULES_CACHE=true remote: NODE_VERBOSE=false remote: remote: -----> Installing binaries remote: engines.node (package.json): unspecified remote: engines.npm (package.json): unspecified (use default) remote: remote: Resolving node version 10.x... remote: Downloading and installing node 10.16.3... remote: Using default npm version: 6.9.0 remote: remote: -----> Restoring cache remote: - node_modules (not cached - skipping) remote: remote: -----> Installing dependencies remote: Installing node modules (package.json) remote: up to date in 0.308s remote: found 0 vulnerabilities remote: remote: remote: -----> Build remote: remote: -----> Pruning devDependencies remote: up to date in 0.266s remote: found 0 vulnerabilities remote: remote: remote: -----> Caching build remote: - node_modules (nothing to cache) remote: remote: -----> Build succeeded! remote: ! This app may not specify any way to start a node process remote: https://devcenter.heroku.com/articles/nodejs-support#default-web-process-type remote: remote: -----> Ruby app detected remote: -----> Compiling Ruby/Rails remote: -----> Using Ruby version: ruby-2.5.5 remote: remote: ###### WARNING: remote: (省略) remote: remote: ###### WARNING: remote: remote: No Procfile detected, using the default web server. remote: We recommend explicitly declaring how to boot your server process via a Procfile. remote: https://devcenter.heroku.com/articles/ruby-default-web-server remote: remote: remote: -----> Discovering process types remote: Procfile declares types -> (none) remote: Default types for buildpack -> console, rake, web remote: remote: -----> Compressing... remote: Done: 84.3M remote: -----> Launching... remote: Released v10 remote: https://enigmatic-cliffs-83347.herokuapp.com/ deployed to Heroku remote: remote: Verifying deploy... done. To https://git.heroku.com/enigmatic-cliffs-83347.git 77ffb9c..75d27fd master -> master ```###log Started GET "/" for ::1 at 2019-09-12 18:20:23 +0900  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ↳ C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98 Processing by ProductsController#index as HTML User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 2], ["LIMIT", 1]] ↳ C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98 Rendering products/index.html.erb within layouts/application Product Load (1.2ms) SELECT "products".* FROM "products" ↳ app/views/products/index.html.erb:17 Rendered products/index.html.erb within layouts/application (62.0ms) Completed 200 OK in 5179ms (Views: 4947.3ms | ActiveRecord: 32.3ms) ### 試したこと heroku run rake db:migrateStartedなどもした。 https://qiita.com/kazukimatsumoto/items/a0daa7281a3948701c39のさいとをもとに1からやり直した ### 補足情報(FW/ツールのバージョンなど) 初心者なので優しく答えていただけるとありがたいです。

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

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

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

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

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

guest

回答1

0

ベストアンサー

デプロイできていると思います。

投稿2019/09/12 14:24

退会済みユーザー

退会済みユーザー

総合スコア0

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

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

yamada_yuuki

2019/09/16 09:25

しかし、heroku openをしたらWe're sorry, but something went wrong.というエラーが出てしまいます。どうしたら良いでしょうか。
退会済みユーザー

退会済みユーザー

2019/09/16 09:27

それは、本質問とは別の範疇の質問になるでしょう。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問