byebug: Byebug install error
l am currently trying to install byebug with my rails project and keep getting this error
An error occurred while installing byebug (9.0.5), and Bundler cannot continue.
Make sure that `gem install byebug -v '9.0.5'` succeeds before bundling.
Any idea why this would be?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 27 (3 by maintainers)
For the people coming here from search engines… Installing older versions of byebug (in my case, 4.0.5) required the installation of llvm@11 and then
Oh, the joys of legacy development.
I also encountered this error (Apple M1, Monterey), and it worked after setting
export CC=clang.I got it working with below steps on big sur: Reinstall commandline tools
Install llvm
Set cc and ccx to llvm from homebrew export CC=/usr/local/opt/llvm/bin/clang export CCX=/usr/local/opt/llvm/bin/clang
I’m not a Mac user, but looks like the only solution is to use: