什么是“循环论证参考”错误,有效支持time_zone? [英] What is a "circular argument reference" error, with activesupport time_zone?

查看:196
本文介绍了什么是“循环论证参考”错误,有效支持time_zone?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Ruby on Rails的新手,我正在尝试创建一个教程。当我执行 rake db:migrate

I'm new in ruby on rails, and I am trying to create a tutorial. I have a problem when I execute rake db:migrate.

hugo@ubuntu:~/pin_board$ rake db:migrate
/home/hugo/.rvm/gems/ruby-2.2.2/gems/activesupport-4.0.5/lib/active_support/values/time_zone.rb:283: warning: circular argument reference - now

是什么引起的?

是否有人帮我?

What causes this?
Can somebody help me?

推荐答案

你看到这条警告信息是因为你的Rails版本是4.0.5。

You see this warning message because your Rails version is 4.0.5. The issue has been fixed on Rails 4.0.6.

更新您的 Gemfile 并运行 bundle update rails

如果您想知道这个问题的背景,请阅读我对另一个问题的回答https://stackoverflow.com/a/30733016/513554

If you want to know the background of this issue, read my answer to another question https://stackoverflow.com/a/30733016/513554.

这篇关于什么是“循环论证参考”错误,有效支持time_zone?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆