TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Chef Kitchen for setting up servers with a standard Rails stack

12 点作者 bcroesch大约 11 年前

2 条评论

sergiotapia大约 11 年前
I hate this about deploying Rails applications. It&#x27;s always a teeny tiny little thing, but it almost always ends up with a trip through random stackoverflow answers, comments, blog posts and the occasional doc filed under &#x27;known issues&#x27;.<p>I have _only_ 1 production application hosted on a hand-built DigitalOcean stack - hell it was a such a process I wrote a guide on how to do it, mainly for my own benefit in the future.<p><a href="http://tech.pro/tutorial/1335/devops-for-dummies-vps-configuration-from-scratch-rails-nginx-postgresql" rel="nofollow">http:&#x2F;&#x2F;tech.pro&#x2F;tutorial&#x2F;1335&#x2F;devops-for-dummies-vps-configu...</a><p>Surprise surprise, I try to follow _my own guide_ on a new project I started and it doesn&#x27;t work as expected. Either RVM changed since writing it, Ubuntu issue with locales preventing postgres from starting, or the odd issue with postgres not installing with a default user. It&#x27;s a cluster<i></i><i></i>.<p>Alright, enough fiddling about. I bought myself a book to learn from a professional [0]. Surprise surprise! Outdated not 1 month after it&#x27;s been released. No longer working, again hunting down the comments area. :P<p>There&#x27;s a reason why Heroku is so popular: it makes deployments mind-numbingly simple. (Plus you can scale, but let&#x27;s worry about that after the app actually runs!)<p>I&#x27;m going to give this a shot using a brand new Ubuntu 13.10 x64 DigitalOcean VPS with a simple CRUD rails application I have. But I&#x27;d bet my left arm that something is going to go wrong and yet again I&#x27;ll have to dive deep into the recesses of the web.<p>[0] - <a href="https://leanpub.com/deploying_rails_applications" rel="nofollow">https:&#x2F;&#x2F;leanpub.com&#x2F;deploying_rails_applications</a>
评论 #7592691 未加载
sergiotapia大约 11 年前
If this doesn&#x27;t use RVM how do you handle multiple applications on 1 server that may or may not have different Ruby versions?
评论 #7593557 未加载
评论 #7592700 未加载