23

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?

New Alexandria
  • 6,951
  • 4
  • 57
  • 77
Francisco Possetto
  • 443
  • 1
  • 3
  • 10

1 Answers1

26

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

Update your Gemfile and run bundle update rails.

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

Community
  • 1
  • 1
Tsutomu
  • 4,848
  • 1
  • 46
  • 68
  • 5
    Same goes for Rails 3. Not sure which version it got fixed in but after upgrading from `3.2.19` to `3.2.22` it was fixed. – Joshua Pinter Feb 15 '17 at 17:16
  • 1
    I had the problem with `3.2.19`, then tried `3.2.20` and `3.2.21`, it didn't work. `3.2.22` worked fine. – jperelli Sep 13 '18 at 02:28