Question

I haven't found Teambox's support forum so I'm asking here. Note that I am completely new to Linux and its commandline syntax so please understand. :)

Anyway, I followed this guide and managed to install all the prerequisites needed. After cloning the Git repository, I invoked the command:

bundle install

The script proceeded to install different apps but it stopped with a GCC compile error when installing Gherkin 2.3.3.

Is there any way to tell the "bundle" to "install" the latest gherkin instead of 2.3.3?

Was it helpful?

Solution

You need to tell Bundle to pass the "ignore warning as error" parameter to the GEM. To do this, execute the following command before calling bundle install:

bundle config build.gherkin --with-cflags=-w

If that won't work, try this:

bundle config gherkin --with-cflags=-w

Reading this two SO entries helped me solve the problem:

Troubleshooting installing Gherkin 2.1.5

How can I pass a parameter for gem installation when I run bundle install?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top