From: Nolic Date: 2013-02-21T06:03:14+09:00 Subject: Re: Instalation problem On Thu, Feb 21, 2013 at 04:57:39AM +0900, Carlos A. wrote: I don't use rvm but it sounds like you did not install Xcode which is needed to compile ruby. You can get it from the app store You might get more information using these commands: 'rvm notes' and 'rvm requirements'. Since there's also compilation problems lately related to recent Xcode versions, https://rvm.io/os/osx/ could be helpful > HI!! > I'm a complete newby and I'm trying to follow a tutorial on learning > ruby on rails. > I am on a new mac and require an updated version of ruby to follow > the tutorial. Everything I've read has pointed me towards downloading > and using RVM. > I typed \curl -L https://get.rvm.io | bash -s stable --ruby in my > terminal and this is a shortened version of what happened: > > > Upgrade of RVM in /Users/carlosamengual/.rvm/ is complete. > > # Carlos Amengual, > # > # Thank you for using RVM! > # I sincerely hope that RVM helps to make your life easier and > # more enjoyable!!! > # > # ~Wayne > > > rvm 1.18.8 (stable) by Wayne E. Seguin , Michal > Papis [https://rvm.io/] > > Searching for binary rubies, this might take some time. > No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p385. > Continuing with compilation. Please read 'rvm mount' to get more > information on binary rubies. > Fetching yaml-0.1.4.tar.gz to /Users/carlosamengual/.rvm/archives > Extracting yaml to /Users/carlosamengual/.rvm/src/yaml-0.1.4 > Configuring yaml in /Users/carlosamengual/.rvm/src/yaml-0.1.4. > Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib > CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include > ./configure --prefix=/Users/carlosamengual/.rvm/usr --disable-shared', > please read > /Users/carlosamengual/.rvm/log/ruby-1.9.3-p385/yaml/configure.log > Compiling yaml in /Users/carlosamengual/.rvm/src/yaml-0.1.4. > Error running 'make -j2', please read > /Users/carlosamengual/.rvm/log/ruby-1.9.3-p385/yaml/make.log > Installing Ruby from source to: > /Users/carlosamengual/.rvm/rubies/ruby-1.9.3-p385, this may take a while > depending on your cpu(s)... > ruby-1.9.3-p385 - #downloading ruby-1.9.3-p385, this may take a while > depending on your connection... > ruby-1.9.3-p385 - #extracted to > /Users/carlosamengual/.rvm/src/ruby-1.9.3-p385 (already extracted) > ruby-1.9.3-p385 - #configuring > Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib > CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include > ./configure --disable-install-doc > --prefix=/Users/carlosamengual/.rvm/rubies/ruby-1.9.3-p385 > --with-opt-dir=/Users/carlosamengual/.rvm/usr --disable-shared', please > read /Users/carlosamengual/.rvm/log/ruby-1.9.3-p385/configure.log > There has been an error while running configure. Halting the > installation. > > I see that rvm has been installed, but something has obviously gone > wrong...any ideas. This is like the third time I'm doing it because when > I try and install an updated version of Ruby I get similar messages. > Thanks in advanced for your help. > > -- > Posted via http://www.ruby-forum.com/. >