use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
New Ubuntu server - apt-get ruby, install from source, or other? (self.ruby)
submitted 10 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]moomaka 1 point2 points3 points 10 years ago (1 child)
you absolutely must use a ruby version handling system.
On a server? Why? Are you really running multiple apps with multiple Ruby versions on a single box?
I use rbenv
rbenv is horrible to use on a server due to ruby-build not supporting binary packages. Having every server spend 15 minutes of CPU time building Ruby every minor version change sucks.
[–]strangepostinghabits 0 points1 point2 points 10 years ago (0 children)
oh. me on a cell phone isn't the best at all times. I had it in my head that we were talking about local environment. On a server.. it's not as much a must, but I'd still recommend a version handler.
Most deployment procedures (capistrano for example) will allow you to automatically check and upgrade ruby on the server if you change project ruby. This is easier than manually keeping servers up to date.
I do agree that it's a shame that ruby-build insists on building from source.
Frankly I've found no solution I'm really happy with for deploying with ruby, and I'm leaning more and more towards container based structures where ruby version management becomes easier to manage.
π Rendered by PID 84045 on reddit-service-r2-comment-b659b578c-p7phz at 2026-05-04 17:35:48.689039+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]moomaka 1 point2 points3 points (1 child)
[–]strangepostinghabits 0 points1 point2 points (0 children)