Importing ipboard, needs mysql2 gem

Hi there, the ipboard import script requires the mysql2 gem, but as with any production rails app, discourse complains when I try to add the gem and bundle update.

Now after ignoring errors (brave I am!) I get the following error when trying to run the import script again:

/usr/local/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:92:in `require’: cannot load such file – /var/www/discourse/base.rb ( LoadError )

Seems… serious.

Yes… I made a snapshot before messing around with the innards, looks like I’ll be reverting.

What’s the correct way to add a gem without blowing the whole thing up?

1 Like