【发布时间】:2014-08-15 15:22:20
【问题描述】:
我一直在尝试设置 dashing.io 应用程序(在 sinatra 下运行)的时区,但完全没有成功!
正在做:Time.zone 以 NoMethodError - undefined method 'zone=' for Time:Class: 结尾
我已经在How to set timezone in ActiveSupport's TimeZone class 尝试过解决方案:
require 'active_support/all'
然后我得到错误:require': cannot load such file -- active_support/all (LoadError)
【问题讨论】:
标签: ruby-on-rails timezone sinatra dashing