In my opinion Homebrew is better. Install Homebrew (Optional) When you try to install a Ruby version it will attempt to install Macports. Feel free to open this file in any code editor your.Open Apple App Store Search and install Xcode (5.01+) Install Xcode Command Tools (Mavericks) Open Terminal and trigger install To install the stable version of RVM using this command below, this command installs ruby as a single user, this means it installs ruby to my home. This article gives the steps to Ruby Version Manager (RVM) on Mac OS X Mavericks.Install Latest Xcode. I believe I have installed RVM correctly, and when I go to install 1.9.2 I get the following error in my make log when ruby tries to compile:Install RVM Mac. Cut Rubies with easeI apologize for my ignorance – I’m very new to this – but I have tried everything and cannot get 1.9.2 installed using RVM. Install Homebrew on Mac OS.Ruby Version Manager (RVM) RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.Halting the installation.`Additionally, I have upgraded my autoconf, automake, m4, and libtools.Lastly, my path and. Attempting to install 1.9.1 and 1.9.2 gives me the following error message: `Installing Ruby from source to: /Users/tl/.rvm/rubies/ruby-1.9.2-p180, this may take a while depending on your cpu(s).Ruby-1.9.2-p180 - #downloading ruby-1.9.2-p180, this may take a while depending on your connection.% Total % Received % Xferd Average Speed Time Time Time Current100 8609k 100 8609k 0 0 655k 0 0:00:13 0:00:13 -:-:- 939kRuby-1.9.2-p180 - #extracting ruby-1.9.2-p180 to /Users/tl/.rvm/src/ruby-1.9.2-p180Ruby-1.9.2-p180 - #extracted to /Users/tl/.rvm/src/ruby-1.9.2-p180ERROR: Error running 'make ', please read /Users/tl/.rvm/log/ruby-1.9.2-p180/make.logERROR: There has been an error while running make. I am now running in 64 bit.I have done everything TinMan has asked me to do, and still no avail – Just want to point out that I can install 1.8.7 just fine.Thanks for all the advice and I’ll let you know what happens from there. Inefficient I know.Hi all – it’s been a while since I’ve given up on this, but I am going to try again this weekend. Seguin ( ) "PATH: "/usr/local/upgraded/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/opt/local/bin:/Users/tl/.rvm/bin:/Users/tl/.rvm/bin"How do you do that? I’m really new to this, and have gotten this far through sheer guess work.
Rvm Free To OpenRebuild the gems using gem pristine -all for each installed Ruby. That should bring the Ruby versions to 64-bit. Reinstall all your Rubies using rvm uninstall with the version of Ruby, followed by rvm install with the same version number. Of RVM is 1.5.1, having updated yesterday. Update your RVM using rvm get head. When it goes through the extraction phase it says: ‘#extracted to /Users/tl/.rvm/src/ruby-1.9.2-p180 (already extracted)’Ah, been there. If that doesn’t help edit your original question with the text of the error message so we can see it. You might be missing something that is causing the problem. Bash_profile matter in this situation?Try typing rvm notes and follow the instructions for handling dependencies for Mac OS. Is there something else I’m missing? Does the. I was able to successfully install 1.8.7 but am still receiving the same error for 1.9.2. Epub pdf converter app for macIt is installed, but that is not the same thing. When RVM has been initialized it will put its path to your ~/.rvm first.The output from rvm info shows that RVM has not been initialized. It will have all sorts of environment info.Also, your PATH doesn’t look like RVM has been allowed to initialize itself. If something goes wrong during the extract it might have only some of the files, which causes a failure during the configuration/make cycle.Have upgraded my autoconf, automake, m4, and libtoolsHOW did you install and upgrade them? Ruby on Mac OS requires Apple’s headers and XCode.Please add the output of rvm info to your original question. RVM downloads the tarball for a particular Ruby into the ~/.rvm/archive dir, then extracts it to ~/.rvm/src. This is kind of a hardcore measure but this is likely to give you the right libraries linked.2) Bend RVM to build Ruby with architecture that fits this zlib you have in there. 6:Some program has installed a version of zlib into your /usr/local that cannot be used to link Ruby against it because it’s (I suppose) i386 and your Ruby-in-minting is x64.1) Temporarily move /usr/local out of the way altogether by doing a simple rename $mv /usr/local /usr/local-disabledAnd try compiling again. If installing RVM + Ruby 1.9.2 fails with the new user as well then I suggest reinstalling your machine since there’s probably too much going on. $file /usr/local/lib/libz.1.dylib/usr/local/lib/libz.1.dylib: Mach-O dynamically linked shared library i386This will tell you for which arch you need to configure RVM Place the following in your ~/.rvmrc file:3) Install a newer zlib which will likely compile with proper arch by default – and then retry building your ruby with default settings.4) Indeed as Piotr suggested just deleting the offending copy of zlib and see which program will segfault looking for it □ Solution no.
0 Comments
Leave a Reply. |
AuthorDonna ArchivesCategories |