Install Ruby 2.1, Rails and Passenger on Ubuntu
1–10 of 28 posts
Re: Install Ruby 2.1, Rails and Passenger on Ubuntu
#2This write up is something that I've been looking for. Some folks at the local Rails meetups have also told me about Dokku, which facilitates deployment for sure, but I'm left wondering what the ramifications/disadvantages of an automated process (like Dokku and I guess Heroku) vs a "proper" setup like this one described.
Re: Install Ruby 2.1, Rails and Passenger on Ubuntu
#3One of those site that doesn't work if you block Google Analytics.
Re: Install Ruby 2.1, Rails and Passenger on Ubuntu
#4I can attest that the ruby-build project is a huge lifesaver. If you need to build an experimental ruby, it'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.
Re: Install Ruby 2.1, Rails and Passenger on Ubuntu
#5I never knew about CheckInstall: a utility that tracks all the files modified during "make install" and creates a Debian package for them. That's just great! Bonus: you can then use the package it creates to install on other machines. https://help.ubuntu.com/community/CheckInstall
Re: Install Ruby 2.1, Rails and Passenger on Ubuntu
#6Rather 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: https://launchpad.net/~brightbox/+archive/ruby-ng
The Phusion Passenger APT packages are compatible with the Brightbox Ruby packages.
Re: Install Ruby 2.1, Rails and Passenger on Ubuntu
#7I find chruby (https://github.com/postmodern/chruby) to be a much nicer alternative to rbenv nowadays.
Re: Install Ruby 2.1, Rails and Passenger on Ubuntu
#8Rather 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: https://launchpad.net/~brightbox/+archive/ruby-ng The Phusion Passenger APT packages are compatible with the Brightbox Ruby packages.
This. I'm so grateful to Brightbox for having relieved me from the rvm/rbenv madness. Same painless packages on both development and production. Priceless.
Re: Install Ruby 2.1, Rails and Passenger on Ubuntu
#9Bad firewalling advice imo. Use ubuntu's ufw. Admittedl, ufw feels more difficult if you already know iptables, but it's way more robust than the example given there.
Re: Install Ruby 2.1, Rails and Passenger on Ubuntu
#10Choose OpenBSD for your Unix needs. OpenBSD -- the world's simplest and most secure Unix-like OS. The world's most used SSH implementation OpenSSH, the world's most elegant firewall PF, the world's most elegant mail server OpenSMTPD. OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest configuration syntax.
Also, http://puma.io/.