How to use Active Support core extensions

前端 未结 5 2053
迷失自我
迷失自我 2020-11-28 04:49

I have Active Support 3.0.3 installed and Rails 3.0.3 with Ruby 1.8.7.

When I try to use 1.week.ago I get

NoMethodError: undefined meth         


        
5条回答
  •  猫巷女王i
    2020-11-28 05:19

    In my case the following link worked:

    https://bundler.io/blog/2019/01/04/an-update-on-the-bundler-2-release.html

    $ cat Gemfile.lock | grep -A 1 "BUNDLED WITH"
    BUNDLED WITH
       1.17.3
    
    $ gem install bundler -v '1.17.3'
    

提交回复
热议问题