Closed eirvandelden closed 3 years ago
Note: I saw mention of a workaround here but its not applicable for me as I'm using debase & ruby-debug-ide with VSCode
You may install any ruby-debug-ide with the same options. Doesn't matter if you are using RubyMine or VSCode
I look the same compile error when I upgrade to Xcode 12.
In my environment, back to Xcode 11.7 by xcode-select
is workaround for me.
This is about Catalina. Is it true for Big Sur as well?
the downgrading of Xcode to 11.7 works on Big Sur too. Thank you @r-plus
https://github.com/ruby-debug/debase/releases/tag/v0.2.5.beta2 should work fine
This also is happening on Big Sur (macOS 11.2.3) and gem install debase -v '0.2.4.1' -- --with-cflags="-Wno-error=implicit-function-declaration"
got around the problem for me.
Xcode to 11.7 work for me on big sur
If you are using multiple ruby versions and bundler to install the dependencies. Add this to the bundler config.
bundle config build.debase --with-cflags="-Wno-error=implicit-function-declaration"
Getting the same issue on macOS Sonoma Version 14.4. I tried the above mentioned solutions but no luck. Ruby version: 2.7.6
Getting the same issue on macOS Sonoma Version 14.4. I tried the above mentioned solutions but no luck. Ruby version: 2.7.5
Getting the same issue on macOS Sonoma Version 14.4.1 I tried the above mentioned solutions but no luck. Ruby version: 2.7.8
Getting the same issue on macOS Sonoma Version 14.4.1 I tried the above mentioned solutions but no luck. Ruby version: 2.6.3
I found a workaround for my case:
gem install debase -- --with-cflags="-Wno-compound-token-split-by-macro -Wno-error=incompatible-function-pointer-types"
Hope this helps
For me the --with-cflags
approach worked, although I had to add -Wno-int-conversion
.
As I'm using different ruby versions, I followed @awadhwana and added to my user bundler config.
bundle config set --global build.debase --with-cflags='-Wno-compound-token-split-by-macro -Wno-error=incompatible-function-pointer-types -Wno-int-conversion'
The nokogiri
gem ended up with a special config, too before installation would finish successful.
bundle config set --global build.nokogiri --use-system-libraries
What I did:
gem install debase
(also tried)gem install debase --version 0.2.5.beta1
What I expected:
What I got:
0.2.4.1
0.2.5.beta1