rvm

I am getting this gem install error for kgio gem when i do a bundle install

◇◆丶佛笑我妖孽 提交于 2019-12-05 00:37:07
问题 I added unicorn to my Gemfile and after that when i do a bundle install I get this error em::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/adim86/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb checking for CLOCK_MONOTONIC in time.h... *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration

rails s: Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound)

混江龙づ霸主 提交于 2019-12-05 00:06:32
When I start rails with: $ rails s I get: /Users/snowcrash/.rvm/gems/ruby-2.1.5@global/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.4.2 in any of the sources (Bundler::GemNotFound) So, I ran bundle install : $ bundle install Using rake 10.4.2 but gem list rake gives: *** LOCAL GEMS *** rake (10.1.0, 10.0.4) How come I don't have rake 10.4.2 installed? Also, when I run bundle check it gives me: The Gemfile's dependencies are satisfied which does not seem to be correct. Why? ==== UPDATE I fixed the problem with rake by doing: gem install rake

How to install SystemTimer on 1.9.2?

点点圈 提交于 2019-12-04 23:25:06
I've just upgraded my app from 1.8.7 to 1.9.2 using RVM and had to add RubyGems and Bundler, ran bundle install and got everything to work except SystemTimer. Google-fu returns nothing and I see others have had issue with it in 1.9 but some have gotten it to work. Any ideas? pawel:bodb pawel$ sudo gem install SystemTimer Building native extensions. This could take a while... /Users/pawel/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/ext/builder.rb:48: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 ERROR: Error installing SystemTimer: ERROR: Failed to

Error installing Ruby in Yosemite

点点圈 提交于 2019-12-04 21:29:42
问题 I have recently updated my OS X to 10.10 and since then facing issue installing ruby through RVM. There is a dependency on gcc46 which I am unable to resolve. Any help is appreciated. Below is the error stack. rvm reinstall ruby-1.9.3-p547 ruby-1.9.3-p547 - #removing src/ruby-1.9.3-p547 - please wait ruby-1.9.3-p547 - #removing rubies/ruby-1.9.3-p547 - please wait Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.10/x86_64/ruby-1.9.3-p547.

Can't install Ruby 2.0.0 with rvm

☆樱花仙子☆ 提交于 2019-12-04 20:20:55
I tried to install Ruby 2.0.0 with rvm install 2.0.0 this was my output: Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p392. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for osx/10.8/x86_64, might require sudo password Password: DEBUG: Copying /Users/Family/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs

how to use rvm in shell scripting

核能气质少年 提交于 2019-12-04 18:44:55
问题 is it possible to load rvm in shell script . can any one give an example of it. when i try a shell script . i am using ubuntu system #!/bin/bash rvm use 1.9.3 it gives me error RVM is not a function, selecting rubies with 'rvm use ...' will not work. You need to change your terminal emulator preferences to allow login shell. Sometimes it is required to use `/bin/bash --login` as the command. Please visit https://rvm.io/integration/gnome-terminal/ for a example. 回答1: You can just include rvm

Install ree-1.8.7 with RVM on Mountain Lion [duplicate]

怎甘沉沦 提交于 2019-12-04 18:44:51
问题 This question already has answers here : Mountain Lion rvm install 1.8.7 x11 error (5 answers) Closed 5 years ago . I had a fresh install of Mountain Lion and installed the Xcode Command Line Tools , . I was able to get homebrew running and installed RVM . Unfortunately, I can't get RVM to install ree-1.8.7-head . It fails when compiling. I thought it was related to X11, so I installed XQuartz . Still no joy. Then I went ahead and installed the full Xcode from the app store . Still no joy.

Clean install OSX 10.9.1 returns “undefined method `path2class'” when trying to install gems

点点圈 提交于 2019-12-04 17:13:28
问题 I just installed a clean Mavericks installation with Homebrew and RVM. Both brew doctor and rvm requirements return "all good", however, when I run bundle install in my project dir most of my gems install fine, but a handful fail to install with the same following error: Bundler::GemspecError: Could not read gem at /Users/NK/.rvm/gems/ruby-2.0.0-p353/cache/eventmachine-1.0.3.gem. It may be corrupted. An error occurred while installing eventmachine (1.0.3), and Bundler cannot continue. Make

rvm can no longer install 1.8.7-p352 on Mac OS X Mountain Lion

丶灬走出姿态 提交于 2019-12-04 16:49:27
问题 I upgraded rvm to 1.15.8, then went back down to 1.15.7 after having some problems in zsh. After downgrading, my Ruby 1.9+ versions went back in fine, but 1.8.7 won't install again. There are two errors that are occurring: Error running 'patch -F 25 -p1 -N -f <"/Users/me/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch"', please read /Users/me/.rvm/log/ruby-1.8.7-p352/patch.apply.stdout-rouge-fix.log The contents of that file are: [2012-09-11 01:05:59] patch -F 25 -p1 -N -f <"/Users/me/.rvm

Can't install Ruby on Mountain Lion with rvm

早过忘川 提交于 2019-12-04 16:33:52
Have tried to install Ruby on Mountain Lion using rvm, but got this error message: ruby-1.9.3-p362 - #extracted to /usr/local/rvm/src/ruby-1.9.3-p362 ruby-1.9.3-p362 - #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 --enable-shared --disable-install-doc --prefix=/usr/local/rvm/rubies/ruby-1.9.3-p362 --with-opt-dir=/usr/local/rvm/usr', please read /usr/local/rvm/log/ruby-1.9.3-p362/configure.log There has been an error while running configure. Halting the installation. ruby-1.9.3-p362 is not