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

problem with json gem during bundle install on macosx #2

Open
peggyc3 opened this issue Nov 27, 2013 · 0 comments
Open

problem with json gem during bundle install on macosx #2

peggyc3 opened this issue Nov 27, 2013 · 0 comments

Comments

@peggyc3
Copy link

peggyc3 commented Nov 27, 2013

i had a problem running bundle install with the json gem, it said:

An error occurred while installing json (1.6.6), and Bundler cannot cont
creating Makefile

make
compiling generator.c
make: gcc-4.2: No such file or directory
make: *** [generator.o] Error 1

I fixed this on my system by running this:

sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

I found the solution on stack overflow.

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