Une Goupelin Autiste utilise witches.town. Vous pouvez læ suivre et interagir si vous possédez un compte quelque part dans le "fediverse".

HEY

I'm remaking witches.academy, and I'm stuck at bundle exec rake secret.

It's super not working and I'm stuck >.>

My error says package configuration for protobuf is not found

Also, this keeps popping up?

An error occurred while installing cld3 (3.1.2), and Bundler cannot
continue.
Make sure that `gem install cld3 -v '3.1.2'` succeeds before bundling.

@sendoshin Apparently I could just do a native install in Digital Ocean and my account is still good so I did it there.

Currently working from this: anystack.xyz/how-to-install-ma

@spiderrobotpig Yeah, it was added as a dependency when language detection was upgraded a few versions back. Took me a while to figure everything out to make that work properly so that Nanobox could handle it automatically.

So the first step is you have to actually install protobuf using the system package manager. Assuming Ubuntu, `sudo apt-get install protobuf-compiler` should pull in everything you need.

@sendoshin It says that package config isn't found, but that the package is installed.

Bluh I forget how frustrating this can get >.<

@spiderrobotpig Yeah, it's pretty much a nightmare managing Ruby dependencies, especially if there are any binaries involved.

So, basically it's trying to build its own version of a library called CLD3, which is the language detection library used in Chrome. It has to build its own because the normal version depends on Chrome itself, and that's just way too much for most uses.

But. It needs help to find the other things it still depends on...

@sendoshin Makes sense. No idea how to fix it though?

Because I've installed the package and the dependencies both with root and the mastodon user and for some reason bundle install can't find them

@spiderrobotpig It's honestly been nearly two months since I tackled this myself, so ... I'm trying to remember all the details... Sorry for the delays.

@sendoshin No worries. I appreciate the help.

If it's too much I'm sure I can figure it out at some point

@spiderrobotpig So, for some reason it's having trouble finding one of the libraries it needs. I'm trying to remember which ones it depends on, other than protobuf. Because there was at least one it didn't actually have a way to detect and warn about in the build process itself...

I wanna say it's zlib? `sudo apt-get install zlib1g`? I mean, that's usually already installed, but I guess you never know...

@sendoshin Yeah it's already there.

Bluuuuuuuuuuh

I guess I'll just wait until I can get $10 up and use nanobox this is bullshit

@spiderrobotpig I can zap you the $10 if you like... I think you get like 20 days free, though, so ... up to you.

@spiderrobotpig Cool. I'm much more familiar with that approach. :D Actually deploying the latest master (plus some patches to support manual federation that may or may not get merged upstream at some point) as we speak. 😄

Une Goupelin Autiste @spiderrobotpig

@sendoshin WELP

No idea what I'm doing. Didn't you have a tutorial >^<