Install Discourse for development using Docker

When running the above command (on a Mac) I get this error:

An error occurred while installing cppjieba_rb (0.3.3), and Bundler cannot continue.

Make sure that `gem install cppjieba_rb -v '0.3.3' --source 'https://rubygems.org/'` succeeds

before bundling.

Do you have any suggestions? I don’t understand exactly what the problem is. The separate gem install doesn’t work either (even with sudo).

Also, why do gems have to be installed when I’m running a docker image? That should have been fully pre-installed already, right?

UPDATE: FIXED

I cloned to ~/repos/discourse but should have been to ~/discourse. Works like a charm now.

3 Likes