Warning: circular argument referenc

I just got the following message when I ran:

rake db:drop

“/home/pi/.rvm/gems/ruby-2.2.0/gems/activesupport-4.0.3/lib/active_support/values/time_zone.rb:282:
warning: circular argument reference - now”

That is new to me, I have just seen since a 'bundle update"

Any comments?

On 5 February 2015 at 20:13, explainer [email protected] wrote:

I just got the following message when I ran:

rake db:drop

"/home/pi/.rvm/gems/ruby-2.2.0/gems/activesupport-4.0.3/lib/active_support/values/time_zone.rb:282:

warning: circular argument reference - now"

That is new to me, I have just seen since a 'bundle update"

Are you using compass? Googling for
timezone.rb warning: circular argument reference - now
found
http://stackoverflow.com/questions/27717309/how-do-i-avoid-the-circular-argument-reference-warning-in-activesupport

Colin

No compass in my app, just a vanilla rails app. However, I am running
it
on a raspberrypi, but I also see this on my x86 linux box.

On 5 February 2015 at 12:22, Colin L. [email protected] wrote:

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/rubyonrails-talk/eIJsvQ3V8qc/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
[email protected]
To post to this group, send email to [email protected]
To view this discussion on the web visit

https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu_enR4wQw1Fzs5KmESXqthvoiJ8omXJkfm6YrrW7n8QA%40mail.gmail.com

.
For more options, visit https://groups.google.com/d/optout.


Regards,

Ken

Seek wisdom through disbelief

On Thursday, February 5, 2015 at 8:13:41 PM UTC, explainer wrote:

These warnings are new in ruby 2.2. They are fixed in recent versions of
rails 4.0.x (not sure exactly which versions

Fred

On 5 February 2015 at 20:13, explainer [email protected] wrote:

I just got the following message when I ran:

rake db:drop

"/home/pi/.rvm/gems/ruby-2.2.0/gems/activesupport-4.0.3/lib/active_support/values/time_zone.rb:282:

warning: circular argument reference - now"

That is new to me, I have just seen since a 'bundle update"

Check Gemfile.lock against the previous version and see which gems
updated. Presumably one of them is causing the problem if it did not
happen before the update.

Colin

I am running ActiveSupport 4.0.3, and that is not fixed.

On 5 February 2015 at 13:35, Frederick C.
[email protected]
wrote:

Any comments?
To view this discussion on the web visit

https://groups.google.com/d/msgid/rubyonrails-talk/4f865e77-72c6-40e9-b33b-b6e380543fd9%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.


Regards,

Ken

Seek wisdom through disbelief

On Thu, Feb 5, 2015 at 1:40 PM, Ken B. [email protected] wrote:

I am running ActiveSupport 4.0.3, and that is not fixed.

Maybe that’s a hint that it’s time to update :slight_smile:


Hassan S. ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

This has been fixed now.

http://weblog.rubyonrails.org/2015/6/16/Rails-3-2-22-4-1-11-and-4-2-2-have-been-released-and-more/

fix ruby 2.2 warning: circular argument reference

https://github.com/rails/rails/commit/8fd52705eda6a2cd7e9a8a5bc723fa094e359eb7

use self.method syntax to resolve circular argument issues

https://github.com/rails/rails/commit/3a30b12c774dfaa72acfe520e823374131631ea9

On Wed, Jul 29, 2015 at 2:57 AM, Dhruv S. [email protected]
wrote:

fix ruby 2.2 warning: circular argument reference

Great news! When can we expect the fix to the ad hominem attack
reference and the false dichotomy reference? :wink:

-Dave


Dave A., consulting software developer of Codosaur.us,
PullRequestRoulette.com, Blog.Codosaur.us, and Dare2XL.com.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs