rvm

How do I configure capistrano to use my rvm version of Ruby

Does anybody know how I can tell capistrano to use my default rvm version of ruby for on the server I am pushing to. It insists on using the system version. Is it even possible? ...

Why does it take a long time to change directories after installing RVM

I just installed RVM and it seems the cd command is taking an extra couple of seconds, why is this happening? Is there any way to fix this? ...

Error installing Ruby 1.9 with RVM under Snow Leopard

Hello I've got some problems to get Ruby 1.9.2 compiling with rvm (Ruby Version Manger) under Snow Leopard. I want everything possibly to be 64-Bit so I already added ARCHFLAGS="-arch x86_64" to my .bash_profile. Then, when running: rvm install 1.9.2 -C --enable-shared I get an error during compiling. Here is the make.error.log: ...

RVM Ruby 1.8.6 problem with RMagick

I have Mac OS X 10.6.2 with default Ruby 1.8.7. I installed Ruby 1.8.6 thourgh RVM (rvm install 1.8.6). While I run my tests with Ruby 1.8.6 I get error: dyld: NSLinkModule() error dyld: Symbol not found: _DestroyConstitute Referenced from: /Users/snowak/.rvm/gems/ruby-1.8.6-p383/gems/rmagick-2.12.2/lib/RMagick2.bundle Expected in: ...

Wrong date with ruby Date.today and DateTime.now

I've installed ruby-1.8.6-p383 with RVM. System ruby is 1.9.1_p378-1 I'm getting the wrong date from Date.today and DateTime.now when using ruby 1.8.. Whereas Time.now is correct: irb(main):002:0> DateTime.now.to_s => "2126--1-10618T11:23:43+00:00" irb(main):004:0> Date.today.to_s => "2126--1-10618" irb(main):005:0> Time.now => Thu Jan...

emacs is ignoring my path when it runs a compile command

I'm trying to get a compile command (rake cucumber) to run with a specific ruby version on my Mac OS X system, I use rvm to do this currently in the terminal. My ~/.MacOSX/environment.plist has the correct path in it, but emacs insists on prepending to this path and therefore making it useless. I've also tried: (when (equal system-type...

line doesn't execute in .bash_profile and .bashrc on my Mac OSX Snow Leopard

Hi, I just installed Ruby Version Manager (RVM) which is working fine but it asked me to put the following line in my /.bash_profile and ~/.bashrc files: if [[ -s /Users/tammam56/.rvm/scripts/rvm ]] ; then source /Users/tammam56/.rvm/scripts/rvm ; fi looking at the content I see the following: tammam56$ cat /.bash_profile export PAT...

Issue installing RVM for RoR in Ubuntu

I'm trying to get Ruby on Rails setup on my new eeeubuntu install and I think I'm having some issues installing RVM properly. I installed GIT, and that went well. I installed RVM and in the install it told me to add if [[ -s /home/derek/.rvm/scripts/rvm ]] ; then source /home/derek/.rvm/scripts/rvm ; fi To the end of .bashrc Which I ...

RVM 1.9.1 & nokogiri

Having trouble installing the nokogiri gem under rvm ruby 1.9.1. gem install nokogiri I'm getting ... /usr/include/libxml2... no libxml2 is missing. try 'port install libxml2' or 'yum install libxml2-devel' *** extconf.rb failed *** but i checked: sudo apt-get install libxml2 and i got: Reading state information... Done libxm...

RVM Ruby 1.9.1 troubles

Trying to get Ruby 1.9.1 up and running with RVM on a fresh install(fedora). So after doing rvm install 1.9.1, the rubygems error logs show that zlib can't be located no such file to load -- zlib (LoadError) However both the zlib runtime and development libraries are installed and up-to-date, So I'm kinda stumped on this one at ...

JVM version manager

Is there Ruby Version Manager equivalent for the Java world? I'm looking for tool which allow me to easily download and install a new JVMs and switch between them. For example: jvm install <version> jvm list //will list installed JVMs on my system jvm use jdk1.6 //will switch my env to jdk 1.6 version, etc. ...

How to use rvm (ruby version manager) with root account?

The whole point of rvm is to be able to install multiple rubies and access them from a user account. What do you do when you need to access any of those rubies from root? Or use gems installed in one of those rvms? Is there an elegant (or even hackish) way to use these I haven't considered? My guess is that I should just add it to my P...

RVM and rails 3.0 beta: rails executable is invalid

after installing gem install rails --pre then trying rails -v I get the following error /home/luke/.rvm/gems/ruby-1.8.7-head@rails3pre/gems/activerecord-3.0.0.beta2/lib/rails: Is a directory - /home/luke/.rvm/gems/ruby-1.8.7-head@rails3pre/gems/activerecord-3.0.0.beta2/lib/rails (Errno::EISDIR) from /usr/bin/rails:19:in `load' f...

RVM: how can I dynamically export gem executable directory in my path?

I installed rvm as root to setup an Ubuntu LTS 8.04 as a web hosting server for my rails apps. rvm is installed in: /usr/local/rvm Everything works fine, gems installation included and users are able to use ruby and gem commands. sudo gem install rails My problem is that the gems EXECUTABLE DIRECTORY is not included in my PATH and...

osx rvm ruby 1.8.7 nokogiri 1.4.1 - ERROR: Failed to build gem native extension.

I'm stuck with this problem. cat ~/.rvm/gems/ruby-1.8.7-p249/gems/nokogiri-1.4.1/ext/nokogiri/mkmf.log Gives this errors (clipped) conftest.c:3: error: 'xmlParseDoc' undeclared (first use in this function) conftest.c:3: error: (Each undeclared identifier is reported only once conftest.c:3: error: for each function it appears in.) F...

problem installing rails3.0

Tried the link http://railscasts.com/episodes/200-rails-3-beta-and-rvm gokul@gokul-laptop:~$ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] gokul@gokul-laptop:~$ mkdir -p ~/.rvm/src/ && cd ~/.rvm/src && rm -rf ./rvm/ && git clone git://github.com/wayneeseguin/rvm.git && cd rvm && ./install The program 'git' is currently ...

Need to run Rails 2.2.2 but I have RubyGems 1.3.6 it wants 1.3.5

I have a Rails program that has 2.2.2 embedded. When I run it I get an error because RubyGems 1.3.6 is not compatible with Rails 2.2.2. I am running rvm and would like to set up an environment to run this program with ruby 1.8.7 and rubygems 1.3.5. Any help would be greatly appreciated. Barb ...

Is there a python equivalent of Ruby's 'rvm'?

Q: Do we have anything functionally equivalent in Python to the Ruby version manager 'rvm'? (RVM lets you easily switch completely between different versions of the ruby interpreter and different sets of gems (modules). Everything concerning download-build-install-switch of interpreter(-s) and gems gets taken care of by invoking rvm...

How to completely wipe rubygems along with rails etc

Ok, so I decided I'd be cool and try to use Rails3 that's in beta. Then, things were getting hard to manage so I got rvm. I installed ruby 1.9.2-head in rvm and things were working, and then a computer restart later rails wouldn't start up. So I figured I'd just try running the system ruby and start rails in it. same error. Then, I unins...

RVM can't switch to Ruby 1.9.1

I installed Ruby 1.8.7 through apt-get. I then installed 1.9.1 through RVM. The RVM 1.9.1 installation was successful: root: rvm install 1.9.1 <i>Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.1-p378 </i> <i>/usr/local/rvm/src/ruby-1.9.1-p378 has already been extracted. </i> <i>Configuring ruby-1.9.1-p378, this may take...