rvm

rvm gem install error?

☆樱花仙子☆ 提交于 2019-12-03 13:04:13
问题 I was messing around with rubygems and rvm and it was working perfectly fine but now when I try to install a gem I get an error gem install railsERROR: While executing gem ... (Errno::EACCES) Permission denied - /Users/da/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.11/.gitignore It works when I do sudo, but I never had to do this before to install a gem. $ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.6.2 - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [x86_64-darwin10.7.0] -

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

你说的曾经没有我的故事 提交于 2019-12-03 12:59:59
This question already has an answer here: Mountain Lion rvm install 1.8.7 x11 error 5 answers 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. Anyone gotten this going on a fresh Mountain Lion install? From the bottom of the .rvm/log/ree-1.8.7-head/make.log : Find Tcl

Using RVM in eshell of Emacs

扶醉桌前 提交于 2019-12-03 12:57:20
Using RVM in eshell of emacs, I am not able to set the ruby version. Why? Environment : Ubuntu 9.10 /media/Work/rubyworkspace $ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] /media/Work/rubyworkspace $ rvm use 1.9.2 Using /usr/local/rvm/gems/ruby-1.9.2-p180 /media/Work/rubyworkspace $ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] As far as I can tell, RVM relies on the shell being a "regular" UNIX shell. Selection of the correct interpreter etc. is done using shell variables and these don't apply to eshell which has it's own way of configuring stuff. One solution is

How can I remove Ruby on Rails 4 beta?

余生长醉 提交于 2019-12-03 12:43:15
I'm new to Ruby and Rails and I installed the latest beta version of Rails 4 on my Mac, before I installed RVM to manage my versions. The Rails 4 beta is becoming a huge pain in the ass because it's the default version in every new tab I open in the terminal. How can I uninstall the Rails 4 beta and all references to it? Except of uninstalling rails you need to uninstall railties gem - rails exec is only wrapper that will select most up-to-date railties gem. $ gem uninstall rails -v=4.0.0.beta1 $ gem uninstall railties -v=4.0.0.beta1 Try: $ gem uninstall rails -v=4.0.0.beta1 or $ gem uninstall

What can I do about a Bundler::GemfileNotFound error?

寵の児 提交于 2019-12-03 11:45:01
问题 I just installed bundler-1.3.3 successfully. However, when I try to run bundle install I get Bundler::GemfileNotFound What is wrong here? 回答1: cd into a directory that has a Gemfile 回答2: In my experience, this will occur when your code is not executing in the directory you think it is (hence the previous answer), or the directory containing the Gemfile has been moved or deleted. I experienced this when I had been running unicorn on a server running an app that had been deployed with

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

南楼画角 提交于 2019-12-03 11:40:45
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/patches/ruby/1.8.7/stdout-rouge-fix.patch" patching file lib/mkmf.rb Hunk #1 FAILED at 201. 1 out of 1

RVM: How to use gems from a different ruby?

痞子三分冷 提交于 2019-12-03 10:20:11
问题 I have been using RVM to manage my Rubies and gems. When I first installed RVM, the Ruby version that I installed was 1.9.2-p0 . I recently installed Ruby 1.9.2-p136 , which created a new Ruby in the RVM. My problem is I want to use the latest version of Ruby but all of the gems I installed were installed under the 1.9.2-p0 directory, because RVM keeps gems completely separate between Rubies, and I want to be able to use those gems with my new version, p-136 without having to reinstall them

Unicode characters in Ruby 1.9.3 IRB with RVM

你离开我真会死。 提交于 2019-12-03 09:49:41
问题 Update : I found almost exact similar question, yet it has slightly different prerequisites and thus doesn't help much. Given: MacOS Lion 10.7.3 rvm 1.14.2 ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0] Ruby was installed with the following line: rvm install 1.9.3 --with-readline-dir=/usr/local/Cellar/readline/6.2.2/ When I fire up irb or rails c and start typing unicode characters, I get: \U+FFD0\U+FFBF\U+FFD1\U+FFD0\U+FFB8\U+FFD0\U+FFBC\U+FFD0\U+FFB5\U+FFD1 How do I get

Unable to install Ruby with RVM

依然范特西╮ 提交于 2019-12-03 09:06:49
I'm having trouble installing Ruby with RVM, and this one has me stumped. I'm running on OS Mavericks, with the latest XCode and xcode command line tools. I have a (to my knowledge) identical set up on another machine with no problems. RVM appeared to install with no problems. Upon an attempt to rvm install 2.1, I received the following error message: ruby-2.1.1 - #removing src/ruby-2.1.1.. Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.9/x86_64/ruby-2.1.1. Continuing with compilation. Please read 'rvm help mount' to get more information on

Error running 'make -j2' when installing RVM

女生的网名这么多〃 提交于 2019-12-03 09:04:32
I'm following this tutorial on setting up Rails on your Mac : http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/ When I get to Step 6: Install RVM with Ruby 1.9.3 , and run curl -L https://get.rvm.io | bash -s stable --ruby to install RVM, I get the following error : Error running 'make -j2', please read ~/.rvm/log/ruby-1.9.3-p385/make.log There has been an error while running make. Halting the installation. In make.log, here is what it generated : regparse.c:582:15: error: implicit conversion loses integer precision: 'st_index_t' (aka 'unsigned long') to 'int' [