intercom / intercom-rails

The easiest way to install Intercom in a Rails app.
https://developers.intercom.io/reference
MIT License
280 stars 106 forks source link

api_base config key unsupported #328

Closed johanbaaij closed 3 years ago

johanbaaij commented 4 years ago

Version info

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

lloydliyu commented 4 years ago

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 commented 3 years ago

This should now be fixed in version 0.4.2