TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Install Ruby 2.1, Rails and Passenger on Ubuntu

33 pointsby ewoutkleinsmannover 11 years ago

10 comments

sandGorgonover 11 years ago
So I see a lot of guides like this (I have one myself), but none that are built on top of Chef-solo&#x2F;Ansible&#x2F;Knife.<p>Which makes me wonder, which is the correct way which <i>lends itself to automation </i> and doesn&#x27;t depend on AWS&#x2F;AMI?
评论 #7197310 未加载
hiphopyoover 11 years ago
Choose OpenBSD for your Unix needs. OpenBSD -- the world&#x27;s simplest and most secure Unix-like OS. The world&#x27;s most used SSH implementation OpenSSH, the world&#x27;s most elegant firewall PF, the world&#x27;s most elegant mail server OpenSMTPD. OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest configuration syntax.<p>Also, <a href="http://puma.io/" rel="nofollow">http:&#x2F;&#x2F;puma.io&#x2F;</a>.
评论 #7197343 未加载
noelherrickover 11 years ago
I never knew about CheckInstall: a utility that tracks all the files modified during &quot;make install&quot; and creates a Debian package for them. That&#x27;s just great! Bonus: you can then use the package it creates to install on other machines. <a href="https://help.ubuntu.com/community/CheckInstall" rel="nofollow">https:&#x2F;&#x2F;help.ubuntu.com&#x2F;community&#x2F;CheckInstall</a>
FooBarWidgetover 11 years ago
Rather than installing Ruby 2.1 from source using rbenv, it is also possible to install Ruby 2.1 using APT, by using the Brightbox PPA: <a href="https://launchpad.net/~brightbox/+archive/ruby-ng" rel="nofollow">https:&#x2F;&#x2F;launchpad.net&#x2F;~brightbox&#x2F;+archive&#x2F;ruby-ng</a> The Phusion Passenger APT packages are compatible with the Brightbox Ruby packages.
评论 #7197110 未加载
pkallbergover 11 years ago
That&#x27;s a great guide! We realized that a lot of people were spending a lot of time on stuff like this, and that&#x27;s why we built Cloud 66. We help you to deploy and manage your applications on any cloud (ie. DigitalOcean, AWS, Rackspace etc) - feel free to check us out <a href="http://cloud66.com" rel="nofollow">http:&#x2F;&#x2F;cloud66.com</a><p>Disclaimer: I work for Cloud 66
johnatworkover 11 years ago
This write up is something that I&#x27;ve been looking for. Some folks at the local Rails meetups have also told me about Dokku, which facilitates deployment for sure, but I&#x27;m left wondering what the ramifications&#x2F;disadvantages of an automated process (like Dokku and I guess Heroku) vs a &quot;proper&quot; setup like this one described.
digitalsushiover 11 years ago
I can attest that the ruby-build project is a huge lifesaver. If you need to build an experimental ruby, it&#x27;s the way to go. You can install it completely out of the system path. I really appreciate the effort that was put into it because it probably saved me about a week of work.
ksecover 11 years ago
One of those site that doesn&#x27;t work if you block Google Analytics.
werdnapkover 11 years ago
I find chruby (<a href="https://github.com/postmodern/chruby" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;postmodern&#x2F;chruby</a>) to be a much nicer alternative to rbenv nowadays.
评论 #7197423 未加载
comiceover 11 years ago
Bad firewalling advice imo. Use ubuntu&#x27;s ufw. Admittedl, ufw feels <i>more</i> difficult if you already know iptables, but it&#x27;s way more robust than the example given there.
评论 #7197854 未加载