1

私は現在、アプリをheroku https://github.com/Shopify/dashing/wiki/How-to%3A-Deploy-to-Herokuにデプロイしようとしています

私はこれらの指示に正確に従っています

bundle install
git init
git add .
git commit -m "My beautiful dashboard"

heroku apps:create myapp

git push heroku master

毎回このエラーを受け取ります

git push heroku master
Counting objects: 441, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (225/225), done.
Writing objects: 100% (441/441), 503.88 KiB | 445 KiB/s, done.
Total 441 (delta 170), reused 441 (delta 170)

-----> Heroku receiving push
-----> Ruby app detected
 !
 !     Gemfile.lock is required. Please run "bundle install" locally
 !     and commit your Gemfile.lock.
 !
 !     Heroku push rejected, failed to compile Ruby app
4

1 に答える 1

1


あなたはGemfile.lock ファイルbundle installを持っていませんgit commit -am "message you wanna put here"

以下で説明するように、を確認しgitignoreて削除/Gemfile.lockし、もう一度コミットすると問題が解決する場合があります

于 2012-12-08T01:58:26.523 に答える