rvm

How to install iconv-devel on CentOS 5.6?

纵然是瞬间 提交于 2020-01-03 09:05:34
问题 After installing rvm on CentOS 5.6 and run rvm notes : dependencies: # For RVM rvm: yum install -y bash curl git # NOTE: For git you need the EPEL repository enabled # For Ruby (MRI & Ree) you should install the following OS dependencies: ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel ; yum install -y make bzip2 ; yum install -y iconv-devel # NOTE: For centos 5.4 final iconv-devel might not be available :( However iconv

NameError: uninitialized constant ActionController::Dispatcher

本秂侑毒 提交于 2020-01-03 04:04:08
问题 Found a similar post here but I am running a Mac so the first solution does not exactly apply and the second didn't work for me. Running Mac OS 10.7.2, Xcode 4.2.1, rvm 1.10.1 using ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0] I believe the issue to due with rvm, however I do not know how to fix it $ rails new dispatch_me $ rails generate controller demo index $ rails console Loading development environment (Rails 3.2.0.rc2) 1.9.3-p0 :001 > env = {} => {} 1.9.3-p0 :002 > env

RVM is loading with the wrong version of ruby?

泄露秘密 提交于 2020-01-02 23:38:10
问题 When I open terminal I see: Last login: Sun Aug 26 15:33:57 on ttys001 Using /Users/me/.rvm/gems/ruby-1.9.3-p125 Running /Users/me/.rvm/hooks/after_use Using /Users/me/.rvm/gems/ruby-1.9.3-p194 ruRunning /Users/me/.rvm/hooks/after_use me-MacBook:site me$ ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0] Where I want ruby 1.9.3. If I then type: rvm use 1.9.3 --default I get the below: $ rvm use 1.9.3 --default Using /Users/me/.rvm/gems/ruby-1.9.3-p194 Running /Users/me/.rvm

Why does Ruby or RVM seem stuck at 1.8.7 on Linux Mint?

流过昼夜 提交于 2020-01-02 22:11:30
问题 I am on Linux Mint 12. I installed RVM and ran these commands: rvm 1.9.2 rvm --default use 1.9.2 but ruby -v still outputs ruby 1.8.7 . sudo apt-get install ruby1.9.2 returns saying 1.9.1 is the latest version. How do I get Ruby to be running on 1.9.2? When I run rvm list like suggested at "Ruby 1.9.2 keeps reverting back to 1.8.7 after installing it using RVM", it outputs: rvm rubies ruby-1.8.7-p352 [ x86_64 ] => ruby-1.9.2-p290 [ x86_64 ] So I think I must have a configuration issue. My OS

setting up an EC2 server with rvm via scripting

爷,独闯天下 提交于 2020-01-02 18:07:03
问题 I'm looking for a way to install rvm, install a specific ruby version (using rvm) and set this installed ruby version as default. Before I can install rvm I have to install gcc and some other very basic software packages. What I've tried so far: 1) Using net/ssh I have to simulate a pseudo tty to be able to sudo some commands and up to now, I could not figure out, how to tell a success full command completion from a not success full one. after installing rvm, I've stumbled over problems using

RVM won't work over SSH (as a function)

戏子无情 提交于 2020-01-02 16:28:19
问题 I just installed RVM on a Debian 6 server, without having any problem in the beginning. However after everything is set up, I can't run RVM in the terminal. The message I get when I type rvm use is: 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. I am

RVM won't work over SSH (as a function)

时光总嘲笑我的痴心妄想 提交于 2020-01-02 16:27:29
问题 I just installed RVM on a Debian 6 server, without having any problem in the beginning. However after everything is set up, I can't run RVM in the terminal. The message I get when I type rvm use is: 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. I am

RVM issue with Mountain Lion

余生颓废 提交于 2020-01-02 08:12:06
问题 I can install any Ruby versions on a Mac running Mountain Lion I have made sure Brew Doctor is all good. When I run ie rvm intall 1.9.3-head I get the following. From git://github.com/ruby/ruby * branch ruby_1_9_3 -> FETCH_HEAD Already up-to-date. Copying from repo to src path... ruby-1.9.3-head - #autoreconf ruby-1.9.3-head - #configuring ruby-1.9.3-head - #compiling Error running 'make', please read /Users/lee/.rvm/log/ruby-1.9.3-head/make.log There has been an error while running make.

RVM issue with Mountain Lion

ぐ巨炮叔叔 提交于 2020-01-02 08:10:53
问题 I can install any Ruby versions on a Mac running Mountain Lion I have made sure Brew Doctor is all good. When I run ie rvm intall 1.9.3-head I get the following. From git://github.com/ruby/ruby * branch ruby_1_9_3 -> FETCH_HEAD Already up-to-date. Copying from repo to src path... ruby-1.9.3-head - #autoreconf ruby-1.9.3-head - #configuring ruby-1.9.3-head - #compiling Error running 'make', please read /Users/lee/.rvm/log/ruby-1.9.3-head/make.log There has been an error while running make.

Can't install Ruby on Mountain Lion with rvm

僤鯓⒐⒋嵵緔 提交于 2020-01-01 19:00:03
问题 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