gemfileの問題でHerokuにデプロイできない。
以下の設定をどうしたらいいのでしょうか。
ruby
1source 'https://rubygems.org' 2 3 4# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 5gem 'rails', '~> 5.0.0', '>= 5.0.0.1' 6 7gem 'hirb', '0.7.3' 8# Use devise for user authentication 9gem 'devise', '4.2' 10# Use sqlite3 as the database for Active Record 11 12# Use Puma as the app server 13gem 'puma', '~> 3.0' 14# Use SCSS for stylesheets 15gem 'sass-rails', '~> 5.0' 16# Use Uglifier as compressor for JavaScript assets 17gem 'uglifier', '>= 1.3.0' 18# Use CoffeeScript for .coffee assets and views 19gem 'coffee-rails', '~> 4.2' 20# See https://github.com/rails/execjs#readme for more supported runtimes 21# gem 'therubyracer', platforms: :ruby 22 23# Use jquery as the JavaScript library 24gem 'jquery-rails' 25# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks 26gem 'turbolinks', '~> 5' 27# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 28gem 'jbuilder', '~> 2.5' 29# Use Redis adapter to run Action Cable in production 30# gem 'redis', '~> 3.0' 31# Use ActiveModel has_secure_password 32# gem 'bcrypt', '~> 3.1.7' 33 34# Use Capistrano for deployment 35# gem 'capistrano-rails', group: :development 36group :development, :test do 37 gem 'sqlite3' 38 gem 'byebug' 39 gem 'web-console' 40 gem 'spring' 41end 42 43group :production do 44 gem 'pg' 45 gem 'rails_12factor' 46end 47 48 49 50# Windows does not include zoneinfo files, so bundle the tzinfo-data gem 51gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] 52 53
Heroicのエラーのメッセージは以下です。
! No default language could be detected for this app.
HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
See https://devcenter.heroku.com/articles/buildpacks
! Push failed
Herokuが提供しているsampleではrubyという言語(フレームワークが)detectedされてdeployに成功しましたが、自分のソースコードではなぜかrubyがdetectedされず、deployに成功できません。
ソースコードはgithubにあげてあります。
https://github.com/ryatajoshima/usereditsystem
急ぎです。宜しくお願い致します。
回答2件
あなたの回答
tips
プレビュー