How do I avoid the circular argument reference warning in activesupport

后端 未结 9 977
既然无缘
既然无缘 2020-12-17 07:56

How do I avoid the circular argument reference warning in activesupport. Happens on ruby 2.2.0

/home/ec2-user/apps/foo_prod/shared/bundle/ruby/2.2.0/gems/act         


        
相关标签:
9条回答
  • 2020-12-17 08:20

    Hypothetically, updating to Rails 4.2.0 - which you should be able to do via the following commands - should fix this error, although it hasn't worked for me:

    rvm use ruby-2.2.0@rails4.2 --create
    gem install rails 
    rails -v 
    

    I'm getting the same "circular argument error" message as well (I posted more about my failed attempts to fix it here, will update if I find an answer: Rails gem update not working (version 4.1.1 to 4.2.0) as a solution to "warning: circular argument reference" error).

    0 讨论(0)
  • 2020-12-17 08:25

    This is compass issue here. They haven't release new version yet so you may need to wait for it.

    0 讨论(0)
  • 2020-12-17 08:27

    I ran into the same issue as well, yo can sue the following steps to resolve it (worked for me).

    $ gem uninstall compass
    $ gem update --system
    $ gem install compass
    
    0 讨论(0)
  • 2020-12-17 08:29

    I was not using compass in my application Based on this post here I upped my Rails version from 4.1.1 to 4.1.9 which worked.

    0 讨论(0)
  • 2020-12-17 08:37

    I altered the time_zone.rb file, instead of now=now, I entered now=Time.now and problem solved.

    0 讨论(0)
  • 2020-12-17 08:38

    Use Rails 3.2.22

    gem 'rails', '3.2.22'
    

    OR

    warning fixes in version 1.2.11.8:

    bundle update ruby-ole
    
    0 讨论(0)
提交回复
热议问题