Error after upgrading SliceHost

September 23rd, 2008

If you happen to see this error after upgrading your SliceHost account, be calm.

ActionView::TemplateError (Define INLINEDIR or HOME in your environment and try again)

The simple solution is to add an environment declaration to your environment/production.rb file:

ENV['INLINEDIR'] = '/path/to/.ruby_inline'

Once that was set, we were in business again… whew!

References

Here’s a relevant reference that took a while to find:

I’ve been pretty enamored with SliceHost recently. They make it very easy to setup a slice, configure it and get your product deployed quickly (I’m down to 30 min). I hadn’t noticed until just recently that I’ve never set a time zone on any slice I’ve configured. So, here’s how you do it, simple and easy.

  1. SSH into your slice
  2. Run this command: sudo dpkg-reconfigure tzdata
  3. Select your geographic area and location

That’s it, hope it helps!

If you want your own slice, consider using my Slicehost referral link. Thanks!