diff options
author | ShunsukeAida <s.aida@scsk.jp> | 2014-12-30 01:57:29 +0900 |
---|---|---|
committer | ShunsukeAida <s.aida@scsk.jp> | 2014-12-30 01:57:29 +0900 |
commit | 31f3167be0118bb2b25e88c394f81b321146e52e (patch) | |
tree | 361e3967b6abec2effaac3748f623bf9098380cc /railties | |
parent | 54ec0cbf8276c63215fcb4507581003bbcd1a48d (diff) | |
download | rails-31f3167be0118bb2b25e88c394f81b321146e52e.tar.gz rails-31f3167be0118bb2b25e88c394f81b321146e52e.tar.bz2 rails-31f3167be0118bb2b25e88c394f81b321146e52e.zip |
plugin's gemfile also needs tzinfo-data in Windows
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin/templates/Gemfile | 4 |
1 files changed, 4 insertions, 0 deletions
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 -%> |