Skip to content

undefined method `acts_like?' for v1.0.3 #21

Closed
@etagwerker

Description

@etagwerker

When trying to run bundle_report, there is an error because it is trying to call an active support method:

root@96477a78955d:/code# bundle_report outdated
Traceback (most recent call last):
	8: from /usr/local/bundle/gems/next_rails-1.0.3/exe/bundle_report:50:in `block in <top (required)>'
	7: from /usr/local/bundle/gems/next_rails-1.0.3/lib/next_rails/bundle_report.rb:67:in `outdated'
	6: from /usr/local/bundle/gems/next_rails-1.0.3/lib/next_rails/bundle_report.rb:67:in `each'
	5: from /usr/local/bundle/gems/next_rails-1.0.3/lib/next_rails/bundle_report.rb:71:in `block in outdated'
	4: from /usr/local/bundle/gems/next_rails-1.0.3/lib/next_rails/gem_info.rb:56:in `age'
	3: from /usr/local/bundle/gems/actionview-4.2.11.3/lib/action_view/helpers/date_helper.rb:157:in `time_ago_in_words'
	2: from /usr/local/bundle/gems/actionview-4.2.11.3/lib/action_view/helpers/date_helper.rb:82:in `distance_of_time_in_words'
	1: from /usr/local/bundle/gems/activesupport-4.2.11.3/lib/active_support/core_ext/object/with_options.rb:67:in `with_options'
/usr/local/bundle/gems/actionview-4.2.11.3/lib/action_view/helpers/date_helper.rb:111:in `block in distance_of_time_in_words': undefined method `acts_like?' for 2011-08-24 00:00:00 UTC:Time (NoMethodError)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions