FreeBSD needs tzinfo-data too.

Akinori MUSHA 10 ans auparavant
Parent
Commettre
e55d94541e
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      Gemfile

+ 2 - 0
Gemfile

@@ -6,6 +6,8 @@ gem 'rails', '4.1.0'
6 6
 
7 7
 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
8 8
 gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
9
+# Seems FreeBSD's zoneinfo is not exactly what tzinfo expects
10
+gem 'tzinfo-data' if /freebsd/i === RUBY_PLATFORM
9 11
 
10 12
 gem 'mysql2', '~> 0.3.15'
11 13
 gem 'devise', '~> 3.2.4'