From 31f3167be0118bb2b25e88c394f81b321146e52e Mon Sep 17 00:00:00 2001 From: ShunsukeAida Date: Tue, 30 Dec 2014 01:57:29 +0900 Subject: plugin's gemfile also needs tzinfo-data in Windows --- railties/lib/rails/generators/rails/plugin/templates/Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/railties/lib/rails/generators/rails/plugin/templates/Gemfile b/railties/lib/rails/generators/rails/plugin/templates/Gemfile index ab8b8925eb..84cef9525e 100644 --- a/railties/lib/rails/generators/rails/plugin/templates/Gemfile +++ b/railties/lib/rails/generators/rails/plugin/templates/Gemfile @@ -45,3 +45,7 @@ end # gem 'byebug', group: [:development, :test] <%- end -%> <% end -%> + +<% if RUBY_PLATFORM.match(/bccwin|cygwin|emx|mingw|mswin|wince|java/) -%> +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] +<% end -%> -- cgit v1.2.3