after_bundler do ui = config['ui'] ? ' --ui' : '' generate "jquery:install#{ui}" end __END__ name: jQuery description: "Adds the latest jQuery and Rails UJS helpers for jQuery." author: mbleigh exclusive: javascript_framework category: assets tags: [javascript, framework, defaults] config: - ui: type: boolean prompt: Install jQuery UI?