add railtie and update gemspec