You’re not receiving notifications from this thread.
Installing RoR on macOS machine
I would like to ask if you can help me with this error while installing RoR on my mac machine running on a macOS 10.12 version.
Based on this guide https://gorails.com/setup/osx/10.12-sierra
Menj]~$ brew install rbenv Warning: You are using OS X 10.12. We do not provide support for this pre-release version. You may encounter build failures or other breakages. Please create pull-requests instead of filing issues. ==> Installing dependencies for rbenv: pkg-config, makedepend, openssl, ruby-build ==> Installing rbenv dependency: pkg-config ==> Using the sandbox ==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.1.tar.gz Already downloaded: /Users/Menj/Library/Caches/Homebrew/pkg-config-0.29.1.tar.gz ==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.29.1_1 --disable-host-tool --with-internal-glib -- Last 15 lines from /Users/Menj/Library/Logs/Homebrew/pkg-config/01.configure: checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-apple-darwin16.0.0 checking host system type... x86_64-apple-darwin16.0.0 checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/private/tmp/pkg-config-20160831-40234-8gmr4o/pkg-config-0.29.1': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/brew): https://github.com/Homebrew/homebrew-core/issues Warning: You are using OS X 10.12. We do not provide support for this pre-release version. You may encounter build failures or other breakages. Please create pull-requests instead of filing issues.
It sounds like possibly one solution is:
I have same problem. And I fixed it by select Xcode 8 Command Line Tool in the Xcode 8. (current Xcode 7.3)
Which I found here: https://github.com/Homebrew/homebrew-core/issues/3604
Maybe try that?
Unfortunately I don't have an extra computer at the moment to install Sierra on so I'll only be able to give suggestions without testing things out myself.
- install xcode "command line" follow this guide -> http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/
- run cleaner or if you have cleanmymac3 that would work
- Start installing - Read & Follow this guide -> https://gorails.com/setup/osx/10.12-sierra
Another resources if your server can't connect to your repo.