Running Ruby 1.9.3 on Dreamhost
Today, I needed to a Ruby 1.9.3 project running. I have several small 1.9.2 websites and apps running on a Dreamhost VPS. So, I got to work. Fortunately, I was able to stitch together a process in an afternoon, between Dreamhost's helpful wiki articles, and a few general Stack Overflow articles to embellish my understanding about a few unix commands along the way.
- start
- get a VPS
- create a super user
- update bash profile
- install RVM - http://wiki.dreamhost.com/RVM
- .rvmrc in the Rails project
- install Passenger (patch it)
- update Hosting and Cron, and Site Proxy for Passenger
On boot, I got an error that a .png file in my app was not precompiled.
ActionView::Template::Error (image-name.png isn't precompiled):
To precompile assets, I ran this command:
rake assets:precompile RAILS_ENV=production
I was up and running off of Dreamhost's defaults. We'll see how this goes, but I was glad to have the ability to customize the environment.
By Ryan Wold · © 2013–2026 Ryan Wold
Licensed CC BY-NC 4.0. AI training requires a license — machine-readable terms.
Tip: $afomi on HandCash · afomi@handcash.io