Skip to content

undefined method `to_json' for Hash #128

@asymmetric

Description

@asymmetric

Hi, I'm trying to integrate HipChat into my Capistrano deployment.

I've followed the instructions on the README, but I get this error:

undefined method `to_json' for #<Hash:0x0000000169b648>

Googling, I found PR #61, which led me to adding a require "json" just before require hipchat/capistrano.

This fixed the issue.

What also fixed the issue was a require "active_support/core_ext".

Tried on Rails 3.2.18 on ruby 1.9.3-p125 and -p551.

Any idea what's going on? Is the information in the README incorrect?

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