Mel
Mel

Reputation: 2685

Ruby 2.2.2 - Time zone reference

I just upgraded to Ruby v 2.2.2.

Now, when I start my console, I get this error:

.rvm/gems/ruby-2.2.2/gems/activesupport-4.0.2/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now
Loading development environment (Rails 4.0.2)

I don't know what it means or how to fix it. I don't have a file called time_zone.rb in my application, so I assume its something that is incorporated by reference.

Does anyone know what to do to resolve this?

Upvotes: 4

Views: 1765

Answers (1)

Alex Pan
Alex Pan

Reputation: 4571

I see that you are using Rails in your project. You just need to upgrade your Rails version to 4.1.9.

This issue was fixed in these commits:

You can upgrade the Rails version in your Gemfile or Gemfile.lock files.

Gemfile

gem "rails", "4.1.9"

Gemfile.lock

rails (4.1.9)

Be sure to run bundle after you make these changes!

Upvotes: 2

Related Questions