为什么在 heroku 上部署我的 rails 应用程序不起作用?
Why deploy my rails app on heroku does not work?
我是 Ruby/Rails 应用程序开发的新手。我已经爱上了 Ruby/Rails,因为它很容易学习。我构建了一个 Rails 应用程序,并尝试在 Heroku 上进行部署。
当我输入时:
heroku create
Creating app... done, stack is cedar-14
https://aqueous-plateau-17182.herokuapp.com/ | https://git.heroku.com/aqueous-plateau-17182.git
我没有收到以下消息:
Git remote heroku added
我认为我的遥控器有问题:
git remote -v
heroku git@bitbucket.org:pracede/hubapp.git (fetch)
heroku git@bitbucket.org:pracede/hubapp.git (push)
origin git@bitbucket.org:pracede/hubapp.git (fetch)
origin git@bitbucket.org:pracede/hubapp.git (push)
git config --list | grep heroku
remote.heroku.url=git@bitbucket.org:pracede/hubapp.git
remote.heroku.fetch=+refs/heads/*:refs/remotes/heroku/*
1.There 是远程的,但 heroku 指的是 bitbucket。这是正确的吗 ?
如果不正确,请问怎么办?
我无法部署。我收到以下消息:
git 推送 heroku 大师
一切都是最新的
我的 rails 应用程序不存在。有人可以给我解释一下吗?
谢谢
首先用 -
删除当前远程 heroku 引用(即指向 bitbucket remote )
git remote rm heroku
添加然后将 heroku remote 添加到您的 repo -
git remote add heroku git@heroku.com:aqueous-plateau-17182.git
希望对您有所帮助!
我是 Ruby/Rails 应用程序开发的新手。我已经爱上了 Ruby/Rails,因为它很容易学习。我构建了一个 Rails 应用程序,并尝试在 Heroku 上进行部署。 当我输入时:
heroku create
Creating app... done, stack is cedar-14
https://aqueous-plateau-17182.herokuapp.com/ | https://git.heroku.com/aqueous-plateau-17182.git
我没有收到以下消息:
Git remote heroku added
我认为我的遥控器有问题:
git remote -v
heroku git@bitbucket.org:pracede/hubapp.git (fetch)
heroku git@bitbucket.org:pracede/hubapp.git (push)
origin git@bitbucket.org:pracede/hubapp.git (fetch)
origin git@bitbucket.org:pracede/hubapp.git (push)
git config --list | grep heroku
remote.heroku.url=git@bitbucket.org:pracede/hubapp.git
remote.heroku.fetch=+refs/heads/*:refs/remotes/heroku/*
1.There 是远程的,但 heroku 指的是 bitbucket。这是正确的吗 ? 如果不正确,请问怎么办?
我无法部署。我收到以下消息:
git 推送 heroku 大师 一切都是最新的
我的 rails 应用程序不存在。有人可以给我解释一下吗?
谢谢
首先用 -
删除当前远程 heroku 引用(即指向 bitbucket remote )git remote rm heroku
添加然后将 heroku remote 添加到您的 repo -
git remote add heroku git@heroku.com:aqueous-plateau-17182.git
希望对您有所帮助!