Fixed railtie in environments with 'cache_classes' enabled.
Bumped version to 0.9.8.