Closed simonszu closed 6 years ago
It will take me a while to get into this. I will have pull up a Docker environment. In your Dockerfile, you use Ruby 2.5 - what happens if you switch to 2.4? I never tried the lib with Ruby > 2.4 ...
I'll check this later on. However, I doubt that it will make a difference, since it works quite good with the original gem.
I also am a little confused, since from what i saw in your commits, you haven't touched the specific parts of the code very much, so I am surprised that just changing the gem is causing such a huge difference.
Nope, unfortunately it is not in the version. I tried this using 2.5 via rvm - works.
But what I did change indeed was the way the bots.rb is loaded. And apparently your ebooks script breaks exactly at this point.
Aaaaah, shoot me. I did not check all ebooks commands (I only started the bot in testing my hastily build hack) - APP_PATH is everywhere in there. I'll fix this.
Should work again, please try.
I am currently trying to change from
twitter_ebooks
to your version of the gem. Unfortunately i am running into an issue when i order theebooks
command to consume the json i have fetched withebooks archive
:(please ignore the
app_1 |
prefixes, they are resulting fromdocker-compose up
when running my ebooks container`.I do not have this exception when i just use the old gem. For migration, @Cheatha told me that just changing the
gem install
should be sufficient, but it looks like it isn't. Maybe you can look into it?