2020. 2. 7. 20:01ㆍ카테고리 없음
Mac OS X (10.9.5) - trying to reset my Ruby installation submitted 3 years ago * by krieder I'm trying to set up my Ruby environment and would like to clean up everything before starting.
I was trying to install the newest version of Ruby via RVM, after I upgraded my Mac to Lion and installed the new Xcode 4.1 from the App store. I get this error in the log: 2011-07-20 16:57:15./configure -prefix=/Users/justin/.rvm/rubies/ruby-1.9.2-p290 -enable-shared -disable-install-doc -with-libyaml-dir=/Users/justin/.rvm/usr configure: WARNING: unrecognized options: -with-libyaml-dir checking build system type. I386-apple-darwin11.0.0 checking host system type.
I386-apple-darwin11.0.0 checking target system type.i386-apple-darwin11.0.0 checking for gcc. No checking for cc. No checking for cl.exe.
No configure: error: in `/Users/justin/.rvm/src/ruby-1.9.2-p290': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details Can anyone tell me what's wrong? This in the terminal: ruby-1.9.2-p290 - #extracted to /Users/justin/.rvm/src/ruby-1.9.2-p290 (already extracted) Fetching yaml-0.1.4.tar.gz to /Users/justin/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users/justin/.rvm/src Configuring yaml in /Users/justin/.rvm/src/yaml-0.1.4.
ERROR: Error running './configure -prefix='/Users/justin/.rvm/usr' ', please read /Users/justin/.rvm/log/ruby-1.9.2-p290/yaml/configure.log Compiling yaml in /Users/justin/.rvm/src/yaml-0.1.4. ERROR: Error running '/usr/bin/make ', please read /Users/justin/.rvm/log/ruby-1.9.2-p290/yaml/make.log Installing yaml to /Users/justin/.rvm/usr ERROR: Error running '/usr/bin/make install', please read /Users/justin/.rvm/log/ruby-1.9.2-p290/yaml/make.install.log ruby-1.9.2-p290 - #configuring ERROR: Error running './configure -prefix=/Users/justin/.rvm/rubies/ruby-1.9.2-p290 -enable-shared -disable-install-doc -with-libyaml-dir=/Users/justin/.rvm/usr ', please read /Users/justin/.rvm/log/ruby-1.9.2-p290/configure.log ERROR: There has been an error while running configure. Halting the installation.
Migrating gems from ruby-1.9.2-p180 to ruby-1.9.2-p290 ERROR: Ruby 'ruby-1.9.2-p290' is not installed - please install it first. ERROR: Error migrating gems. My $PATH is:.
/opt/local/bin. /opt/local/sbin. /Users/justin/.rvm/gems/ruby-1.9.2-p180/bin. /Users/justin/.rvm/gems/ruby-1.9.2-p180@global/bin.
/Users/justin/.rvm/rubies/ruby-1.9.2-p180/bin. /Users/justin/.rvm/bin.
/usr/bin. /bin. /usr/sbin. /sbin. /usr/local/bin.
Ore Data Trying To Rvm Install Ruby 2.4.1 For Mac
/usr/X11/bin. /usr/local/mysql/bin And neither gcc nor cc are found. $ type gcc -bash: type: gcc: not found $ $ type cc -bash: type: cc: not found $.