Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running bundle install #5

Open
kalifg opened this issue Mar 26, 2013 · 0 comments
Open

Error running bundle install #5

kalifg opened this issue Mar 26, 2013 · 0 comments

Comments

@kalifg
Copy link

kalifg commented Mar 26, 2013

I just wanted to document and error I received running bundle install on Ubuntu 12.10, and the work around that fixed it for me. This isn't a bug in your software at all but maybe this could go in the README?

The error occurs when trying to compile eventmachine:

An error occured while installing eventmachine (1.0.0.beta.3), and Bundler cannot continue.

It is preceded by some C compiler errors. Some searching led me to https://github.com/gitlabhq/gitlabhq/issues/1051#issuecomment-9176547 which led me to use this command:

bundle config build.eventmachine --with-cflags=\"-O2 -pipe -march=native -w\"

After that bundle install completed without error.

Thanks again for this great software!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant