rvm

How do I upgrade RVM when the official way doesn't work?

你。 提交于 2019-12-01 10:51:47
Namaste! Wanting to check out the shiny new Rails 5.0, I bumped into an error saying I need to upgrade my Ruby version to a minimum 2.0.0 (my current version being 2.1.3). I use RVM to manage Rubies on my OSX, so I tried the good ol' rvm install ruby --latest ...only to be told Already installed ruby-2.1.3. I ran rvm known list ...and indeed, the latest version of Ruby listed was the one I already have, i.e, 2.1.3. Next, I checked my RVM version and found it to be 1.25.31, while the RVM blog states 1.27.x was recently released. So I decided maybe this is the reason the known list doesn't show

Rails 3.1rc4 asset pipeline broke after Ruby update? How to re-activate/configure it?

大憨熊 提交于 2019-12-01 09:30:31
Somehow this is related but I'm not sure how/why? Just upgraded from Ruby 1.9.2-p180 to 1.9.2-p290 via RVM's rvm upgrade command...and now my asset pipeline is 'broken'. During rvm upgrade ... I noticed a bunch of errors for each gemset along lines of: ERROR: Error running 'rvm gemset pristine' under , please read /Users/meltemi/.rvm/log//gemset.pristine.log I let upgrade continue as there was not much interesting in the gemset.pristine.log... besides, /Users/meltemi/.rvm/log//gemset.pristine.log doesn't (can't?) exist in that exact path? two consecutive '//' in a pathname? Anyway... Testing a

debug rails 3.1.1 application

坚强是说给别人听的谎言 提交于 2019-12-01 09:09:21
问题 I'm try to add a debugger to my rails 3.1.1 application which uses ruby 1.9.2. I have added the following to my gemfile: gem 'ruby-debug19', :require => 'ruby-debug' and I get the following error: /.rvm/gems/ruby-1.9.2-p290@rails31/gems/ruby-debug19-0.11.6/cli/ruby-debug/interface.rb:55:in `block (2 levels) in initialize': uninitialized constant Debugger::LocalInterface::Readline (NameError) by the way i have the following: $ ruby -v ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] $

can not install ruby-1.8.7-p249 on rvm

橙三吉。 提交于 2019-12-01 08:34:40
$ rvm install ruby-1.8.7-p249 Installing Ruby from source to: /home/sayuj/.rvm/rubies/ruby-1.8.7-p249, this may take a while depending on your cpu(s)... ruby-1.8.7-p249 - #fetching ruby-1.8.7-p249 - #extracted to /home/sayuj/.rvm/src/ruby-1.8.7-p249 (already extracted) ruby-1.8.7-p249 - #configuring ruby-1.8.7-p249 - #compiling ERROR: Error running 'make ', please read /home/sayuj/.rvm/log/ruby-1.8.7-p249/make.log ERROR: There has been an error while running make. Halting the installation. EDIT I use Ubuntu 11.10 $ cat /home/sayuj/.rvm/log/ruby-1.8.7-p249/make.log [2011-10-17 15:34:49] make

How do I upgrade RVM when the official way doesn't work?

拟墨画扇 提交于 2019-12-01 08:30:51
问题 Namaste! Wanting to check out the shiny new Rails 5.0, I bumped into an error saying I need to upgrade my Ruby version to a minimum 2.0.0 (my current version being 2.1.3). I use RVM to manage Rubies on my OSX, so I tried the good ol' rvm install ruby --latest ...only to be told Already installed ruby-2.1.3. I ran rvm known list ...and indeed, the latest version of Ruby listed was the one I already have, i.e, 2.1.3. Next, I checked my RVM version and found it to be 1.25.31, while the RVM blog

Rails 3.1rc4 asset pipeline broke after Ruby update? How to re-activate/configure it?

允我心安 提交于 2019-12-01 07:31:16
问题 Somehow this is related but I'm not sure how/why? Just upgraded from Ruby 1.9.2-p180 to 1.9.2-p290 via RVM's rvm upgrade command...and now my asset pipeline is 'broken'. During rvm upgrade ... I noticed a bunch of errors for each gemset along lines of: ERROR: Error running 'rvm gemset pristine' under , please read /Users/meltemi/.rvm/log//gemset.pristine.log I let upgrade continue as there was not much interesting in the gemset.pristine.log... besides, /Users/meltemi/.rvm/log//gemset.pristine

Ruby: “gem install bundler” not installing bundler

 ̄綄美尐妖づ 提交于 2019-12-01 07:19:55
问题 I'm new to rails and trying to get a demo app up and running. I've been having problems on my linux system (lubuntu, mostly clean install) getting "bundle install" to run. Even when it does, if I close my terminal and start another, it fails to run again. The cycle looks something like this: sandbox@75bf7f3:~/railsstuff/sample_app_2nd_ed$ bundle install ERROR: Gem bundler is not installed, run `gem install bundler` first. sandbox@75bf7f3:~/railsstuff/sample_app_2nd_ed$ gem install bundler

rvm install ruby-1.9.3-p286: Error running 'make -j 9' (OSX: Mountain Lion)

。_饼干妹妹 提交于 2019-12-01 06:19:30
Running rvm install ruby-1.9.3-p286 gives me this error: Error running 'make -j 9', please read /Users/epeterson/.rvm/log/ruby-1.9.3-p286/make.log There has been an error while running make. Halting the installation. This took me forever to hunt down. Was trying different versions of make , gcc , etc. It turns out the format of the rvm_make_flags environment variable has changed from a string to an array and was not well communicated or documented. This may apply to all rvm_* env variables, not sure. Check your ~/.rvmrc and project/path/.rvmrc . # before export rvm_make_flags="-j 9" # after

RVM settings lost after every logout

主宰稳场 提交于 2019-12-01 05:48:51
问题 I installed ruby, rails and gemsets using RVM on ubuntu as instructed on : http://railstutorial.org/ruby-on-rails-tutorial-book#sec:rubygems Now the problem is that everytime I reboot machine and open console, my RVM and rails settings are lost: when I try "rails server" - rails is not found and all gems are lost too. I need to install rails and install other gems like heroku again. 回答1: Are you sourcing $HOME/.rvm/scripts/rvm into your shell in its .profile or whatever setup? That would be

Problem installing Ruby 1.9.2 on Mac OS Lion

放肆的年华 提交于 2019-12-01 05:13:35
I am running Lion, utilizing Xcode 4, have RVM and homebrew installed but am only able to run ruby 1.8.7 spurvis:~ rogue$ ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0] spurvis:~ rogue$ I've read through several threads related to this topic but nothing seems to work for my problem: spurvis:~ rogue$ rvm install 1.9.2 Installing Ruby from source to: /Users/rogue/.rvm/rubies/ruby-1.9.2-p290, this may take a while depending on your cpu(s)... ruby-1.9.2-p290 - #fetching ruby-1.9.2-p290 - #extracted to /Users/rogue/.rvm/src/ruby-1.9.2-p290 (already extracted) Fetching yaml-0