【发布时间】:2014-10-26 12:53:18
【问题描述】:
所以我尝试将此应用推送到 heroku:
https://github.com/harrystech/prelaunchr
我在 ubuntu 中使用 virtualbox。
我使用这个安装了 ruby:
$ sudo apt-get install curl # Required
$ curl -L get.rvm.io | bash -s stable # Get RVM
$ source ~/.bashrc # Reboot the shell
$ rvm requirements # To get the command below
$ sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git- core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion # Install Libraries
$ rvm install 1.9.3 # Install ruby v1.9.3
$ rvm use 1.9.3
$ gem install rails # Install rails (I had to run this command twice. Error trying to find railties the first time.. weird)
但是,当我创建我的 heroku 应用程序并尝试将应用程序推送到它时,它给了我这个错误:
http://pastebin.com/uF5PUsCM
对于我安装了 postgresql 的数据库(虽然不知道它是否有任何相关性)
【问题讨论】:
-
'git remote' 的结果是什么?当您使用 Heroku CLI 客户端创建应用程序时,它会添加一个您将推送到的“远程”。这来自您的本地机器而不是来自 GitHub。
标签: ruby-on-rails git heroku