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
1.week.ago
NoMethodError: undefined meth
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'