The tzinfo-data gem is required for Windows.

Akinori MUSHA 10 年 前
コミット
71833634e6
共有2 個のファイルを変更した7 個の追加0 個の削除を含む
  1. 4 0
      Gemfile
  2. 3 0
      Gemfile.lock

+ 4 - 0
Gemfile

@@ -3,6 +3,10 @@ source 'https://rubygems.org'
3 3
 gem 'protected_attributes', '~>1.0.7'
4 4
 
5 5
 gem 'rails', '4.1.0'
6
+
7
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
8
+gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
9
+
6 10
 gem 'mysql2', '~> 0.3.15'
7 11
 gem 'devise', '~> 3.2.4'
8 12
 gem 'kaminari', '~> 0.15.1'

+ 3 - 0
Gemfile.lock

@@ -285,6 +285,8 @@ GEM
285 285
       ethon (>= 0.7.0)
286 286
     tzinfo (1.1.0)
287 287
       thread_safe (~> 0.1)
288
+    tzinfo-data (1.2014.2)
289
+      tzinfo (>= 1.0.0)
288 290
     uglifier (2.5.0)
289 291
       execjs (>= 0.3.0)
290 292
       json (>= 1.8.0)
@@ -355,6 +357,7 @@ DEPENDENCIES
355 357
   twitter (~> 5.8.0)
356 358
   twitter-stream!
357 359
   typhoeus (~> 0.6.3)
360
+  tzinfo-data
358 361
   uglifier (>= 1.3.0)
359 362
   webmock
360 363
   weibo_2 (~> 0.1.4)