We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
require "json"
require hipchat/capistrano
This fixed the issue.
What also fixed the issue was a require "active_support/core_ext".
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?
The text was updated successfully, but these errors were encountered:
I ran into the same issue, and your workaround worked for me. I'm using this in a Sinatra project.
I'm guessing that the gem authors assumed the #to_json method is always present in the environment.
#to_json
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hi, I'm trying to integrate HipChat into my Capistrano deployment.
I've followed the instructions on the README, but I get this error:
Googling, I found PR #61, which led me to adding a
require "json"
just beforerequire 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?
The text was updated successfully, but these errors were encountered: