Then, I tried installing Ruby 2.1.1 and Rails: sudo rvm install 2.1.1 So, I cleaned up again: sudo rvm remove 1.9.3 Please consider upgrading to ruby-2.1.1 which will have all of the Longer maintained (), for a list of maintained rubies visit: WARNING: Please be aware that you just installed a ruby that is no I then remembered that I had received the following message when installing Ruby (confirming Andrew's comment): The problem as described above still occurred. I then reinstalled rvm sudo port install rvmĪnd reinstalled Ruby 1.9.3 with rails: sudo rvm install 1.9.3 I first cleaned up the mess I had made: sudo rvm remove 1.9.2 I was able to get things running by mixing advice with some common sense. Same problem with this installation as well. Require' from /Users/me/Coding/pong/bin/spring:16:in ' from bin/rails:3:inload' from bin/rails:3:in `'īased on suggestions read here and here and elsewhere, I decided to try with a different compiler: port install gcc46 ' from /Users/me/Coding/pong/bin/spring:16:in Users/me/.rvm/gems/ruby-1.9.3-p545/gems/spring-1.1.2/lib/spring/sid.rb:17:inįiddle_func': uninitialized constant Spring::SID::DL (NameError) The last command in that string gave me the following error: This worked! I ran the following: rails new pong cd pong rails generate controller welcome index I decided to interrupt and run this instead: gem install -no-ri -no-rdoc rails This time, during the rails install command, the process got stuck installing the documentation for rails. When I tried to execute "gem install rail", I got an error message sayingĪctivesupport requires Ruby version >= 1.9.3Īs a result, I went back and tried again with 1.9.3: rvm install 1.9.3 I then executed "rvm install 1.9.2" and it ran much faster. "rvm install 1.9.2" was taking too long, so based on suggestions on SO, I used "rvm requirements" to install each of the requirements individually with macports. noĬonfigure: error: in `/Users/tusharmathur/.rvm/src/ruby-2.0.To install RoR on my Mac (v10.9.2), I decided to follow the instructions for Ruby 1.9.2 here: i386-apple-darwin12.2.1Ĭhecking whether the C compiler works. i386-apple-darwin12.2.1Ĭhecking target system type. i386-apple-darwin12.2.1Ĭhecking host system type. configureĬonfigure: WARNING: unrecognized options: -without-tcl, -without-tkĬhecking build system type. I saw the configure.log also, here is the information. There has been an error while running configure. Please read /Users/tusharmathur/.rvm/log/ruby-2.0.0-p0/configure.log Error running './configure -prefix=/Users/tusharmathur/.rvm/rubies/ruby-2.0.0-p0 -with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libxml2:/usr/local/opt/libxslt:/usr/local/opt/libksba:/usr/local/opt/openssl:/usr/local/opt/sqlite -disable-install-doc -without-tcl -without-tk -enable-shared', I ran the following command on my terminal windows - rvm install 2.0.0īut I keep getting this error. I am trying to install Ruby on rails on my Mac for the first time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |