# Error after upgrading SliceHost

> Fixing the INLINEDIR/HOME TemplateError that appears after a SliceHost upgrade

- Author: Curtis Miller
- Published: 2008-09-23
- Categories: ops, ruby, how-to
- Canonical URL: https://millarian.com/posts/error-after-upgrading-slicehost/

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:

- [Problems with God, RubyInline and Rails](http://www.dx13.co.uk/articles/2008/7/6/Problems-with-God--RubyInline-and-Rails.html)
