My blog uses ActiveSupport to use the “ordinalize” method with a Fixnum, but now I’m facing this error message:
undefined method `ordinalize' for 31:Fixnum
So it’s clear that Middleman is not loading ActiveSupport, but I can’t find how to fix this issue.
The code that generates this error is:
article.date.day.ordinalize
It’s displaying the number 31, and then “ordinalizing” it.
I’m just requiring the gem in the Gemfile like this:
gem 'activesupport'
I’m using Ruby 2.2.3 and ActiveSupport 4.2.4 (latest versions).
Any thoughts?