intercom-rails icon indicating copy to clipboard operation
intercom-rails copied to clipboard

api_base config key unsupported

Open johanbaaij opened this issue 6 years ago • 2 comments

Version info

  • intercom-rails version: 1.1.7
  • Rails version: 4.2.10

Was adviced to add api_base to our configuration to deal with Vietnam ISP issues. Are there any other ways to pass the api_base parameter with Rails?

Logs

NoMethodError: undefined method api_base= for IntercomRails::Config:Class

johanbaaij avatar Oct 06 '20 09:10 johanbaaij

Hey @johanbaaij

I just merged a change here https://github.com/intercom/intercom-rails/pull/329 that should fix this.

The version of intercom-rails hasn't been bumped yet so you might have to try and target the master branch in your gemfile as per this article from bundler https://bundler.io/guides/git.html

If that is something you can do, let me know if all works as expected.

I'll also loop back here when the version is bumped.

lloydliyu avatar Oct 07 '20 14:10 lloydliyu

This should now be fixed in version 0.4.2

lloydliyu avatar Oct 08 '20 12:10 lloydliyu