After a failed server migration which killed one of my Ruby-based sites (not Rails!), I decided to modernize the code behind the site.
I enabled VPS. I migrated a new development subdomain over to it. I configured the domain for Passenger (Rack) operation.
After a couple of false starts where I had to clear my browser cache so that my.subdomain.com mapped to the VPS version and not the shared server version, my “Hello World!” test resulted in a “Web Application could not be started” error page.
The error message pointed to a missing gem: rack
A ‘gem list --local’ revealed no gems installed. Imagine my surprise.
Are VPS site admins supposed to install every single nut & bolt behind the services that DreamHost offers?
If that’s the case, I don’t mind. It would have been nice to know that up front, though.
I created an admin user. When I login using the admin user, ‘gem list --local’ lists all kinds of gems.
Running ‘gem environment’ while logged in as each user shows different paths.