Project

General

Profile

Actions

Defect #20068

closed

[Gemfile] Wrong bundler syntaxis used in platforms declaration for tzinfo-data gem

Added by Mischa The Evil about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

source:/trunk/Gemfile@14300#L18 declares the platforms as:

gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]

which should1 be declared as:

gem 'tzinfo-data', platforms => [:mingw, :x64_mingw, :mswin, :jruby]

So this little patch:

Index: Gemfile
===================================================================
--- Gemfile    (revision 14300)
+++ Gemfile    (working copy)
@@ -15,7 +15,7 @@
 gem "actionpack-xml_parser" 

 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
-gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]
+gem 'tzinfo-data', platforms => [:mingw, :x64_mingw, :mswin, :jruby]
 gem "rbpdf", "~> 1.18.5" 

 # Optional gem for LDAP authentication

would fix issues like for example mentioned in ERROR: bundle install --without development test.

1 per http://bundler.io/v1.9/man/gemfile.5.html#PLATFORMS-platforms-

Actions

Also available in: Atom PDF