Add Additional Agents to Huginn on Heroku


Huginn Agents can now be written as external gems and be added to your Huginn installation with the ADDITIONAL_GEMS environment variable.

Install Ruby

Update Ruby application’s gems

Pull Huginn

Add ADDITIONAL_GEMS ENV

“huginn_readability_agent” is the name of .gemspec file.

Add Gems


After running these commmands, the content of Gemfile.lock file will be automatically updated.

https://raw.githubusercontent.com/yulahuyed/huginn-gems/master/Gemfile.lock-readability

Update Huginn

Fork Huginn to your Github, update three files (.env.example,Gemfile.lock,Gemfile) to Huginn on your Github, and click the installation botton of Heroku.

Tips

If you try to run bin/setup_heroku after following the upper commands, maybe get this error. So just update the three file on Github and click the installation botton of Heroku.

Leave a Reply

Your email address will not be published. Required fields are marked *