fix bundler 1.2.4 deprecation warning