4

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?

Mel
  • 2,481
  • 26
  • 113
  • 273
  • possible duplicate of [How do I avoid the circular argument reference warning in activesupport](http://stackoverflow.com/questions/27717309/how-do-i-avoid-the-circular-argument-reference-warning-in-activesupport) – Jordan Running Aug 31 '15 at 06:28
  • 1
    Hi Jordan - I don't think this is the same problem. I don't know what compass is and I don't use it, and I'm trying to work on Ruby 2.2.2. not 2.2.0 – Mel Aug 31 '15 at 06:35

1 Answers1

2

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!

Alex Pan
  • 4,341
  • 8
  • 34
  • 45