

- #INSTALLING RUBY ON RAILS MAC HOW TO#
- #INSTALLING RUBY ON RAILS MAC INSTALL#
- #INSTALLING RUBY ON RAILS MAC UPDATE#
- #INSTALLING RUBY ON RAILS MAC MAC#
# the 'rehash' command updates the environment to your configuration # set version 2.5.1 to be our global default bash_profile (unnecessary for CATALINA USERS) echo 'source ~/.bashrc' > ~/.bash_profile
#INSTALLING RUBY ON RAILS MAC UPDATE#
# update current console window with new settings source ~/.bashrc # CATALINA+ USERS: echo 'eval "$(rbenv init -)"' > ~/.zshrc # initialize rbenv every time you open a new console window (otherwise # our system ruby version will take over when we start a new terminal session) echo 'eval "$(rbenv init -)"' > ~/.bashrc # CATALINA+ USERS: echo 'export PATH="$HOME/.rbenv/bin:$PATH"' > ~/.zshrc zshrc for Catalina+ users) is the file that contains # all of our terminal settings echo 'export PATH="$HOME/.rbenv/bin:$PATH"' > ~/.bashrc Not sure what happened but I just tried the same thing and now it's working perfect.# add to the PATH (rbenv commands are now available from terminal) #. There has been an error while running make. Warning: found user selected compiler 'clang', this will suppress RVM auto detection mechanisms. And now we can verify Rails is installed: rails -v Rails 7.0.4. Rails is now installed, but in order for us to use the rails executable, we need to tell rbenv to see it: rbenv rehash.
#INSTALLING RUBY ON RAILS MAC INSTALL#
I tried the solution here Can't install Ruby under Lion with RVM – GCC issues rvm install 1.9.3 -with-gcc=clang and it changed a bit, here is the new output: rvm install 1.9.3 -with-gcc=clang The Ruby Version Manager RVM enables you to install multiple versions of Ruby and allows you to change which version you want to use. Installing Rails is as simple as running the following command in your Terminal: gem install rails -v 7.0.4. If anyone could help me out it would be greatly appreciated! noĬonfigure: error: in `/Users/Colin/.rvm/src/ruby-1.9.3-p392':Ĭonfigure: error: C compiler cannot create executables x86_64-apple-darwin12.2.1Ĭhecking whether the C compiler works. Using rbenv will provide you with a well-controlled and robust environment for developing your Ruby on Rails applications, allowing you to easily switch your working version of Ruby as needed. x86_64-apple-darwin12.2.1Ĭhecking target system type. One way to install Ruby and Rails is with the command-line tool rbenv. x86_64-apple-darwin12.2.1Ĭhecking host system type. configureĬonfigure: WARNING: unrecognized options: -without-tcl, -without-tkĬhecking build system type. When I go to the /1366429269_configure.log file it says this. There has been an error while running configure.

Ruby-1.9.3-p392 - #extracted to /Users/Colin/.rvm/src/ruby-1.9.3-p392 (already extracted)Įrror running './configure -prefix=/Users/Colin/.rvm/rubies/ruby-1.9.3-p392 -with-opt-dir=/Users/Colin/.rvm/opt/libyaml:/Users/Colin/.rvm/opt/readline:/Users/Colin/.rvm/opt/libxml2:/Users/Colin/.rvm/opt/libxslt:/Users/Colin/.rvm/opt/libksba:/Users/Colin/.rvm/opt/openssl:/Users/Colin/.rvm/opt/sqlite -disable-install-doc -without-tcl -without-tk -enable-shared', Ruby-1.9.3-p392 - #downloading ruby-1.9.3-p392, this may take a while depending on your connection. Installing Ruby from source to: /Users/Colin/.rvm/rubies/ruby-1.9.3-p392, this may take a while depending on your cpu(s). Installing requirements for osx, might require sudo password.Ĭertificates in '/Users/Colin/.rvm/etc/openssl/cert.pem' already are up to date. Please read 'rvm mount' to get more information on binary rubies. No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p392.Ĭontinuing with compilation. Searching for binary rubies, this might take some time.
#INSTALLING RUBY ON RAILS MAC HOW TO#
How to quickly generate the starting pieces of a Rails application. The basic principles of MVC (Model, View, Controller) and RESTful design. The general layout of a Rails application.

I've installed RVM and now am trying to install Ruby using rvm install 1.9.3 When I run this it looks like it's going to install but gives me an error please see below: rvm install 1.9.3 How to install Rails, create a new Rails application, and connect your application to a database.
#INSTALLING RUBY ON RAILS MAC MAC#
So I'm trying to install Ruby 1.9.3 on my Mac running Mountain Lion.
