部署

$ git clone git://github.com/cloudhead/dorothy.git myblog

$ cd myblog/

$ heroku create -s bamboo mybog

$ git push heroku master

 

官方给出的是

$ heroku create myblog

这个默认是Cedar

Cedar 只支持 MRI 1.9.2

Bamboo 支持 REE 1.8.7和MRI 1.9.2

toto是两年前的ruby,使用Cedar无法部署成功

$ git push heroku master

会产生如下出错信息

-----> Heroku receiving push
 !     Heroku push rejected, no Cedar-supported app detected

 

参考官方文档

https://devcenter.heroku.com/articles/stack

 

新建文章

$ gem install toto

$ rake new

$ git add articles/

$ git commit -m "add article ......"

$ git push heroku master

 

中文文件名

slug: hello-world

 

中文问题

查看现在版本

$ heroku stack

把在heroku上的应用Ruby版本降到1.8

$ heroku stack:migrate bamboo-ree-1.8.7

$ git push heroku master

 

参考

http://blog.csdn.net/workxp/article/details/6752799

https://devcenter.heroku.com/articles/bamboo

相关文章:

  • 2021-11-28
  • 2021-09-07
  • 2022-12-23
  • 2021-11-17
  • 2021-09-30
  • 2022-01-01
  • 2021-12-24
猜你喜欢
  • 2022-03-01
  • 2021-06-18
  • 2021-08-12
  • 2022-12-23
  • 2021-11-11
相关资源
相似解决方案