use a railtie and support ruby 2.0.0