rvm

rcov + Rails3 rc now broken from linecache dependency

I hit a wall today with rcov + Rails3. I am developing my Rails3 app using Ruby 1.9.2-preview3. rcov and relevance-rcov do not work with Ruby 1.9.2 yet. I can't find any fork of rcov that does yet either. It wasn't that big of a deal since I could easily switch over to Ruby 1.8.7 using rvm --default 1.8.7; rake test:coverage. So the...

RVM, Merb, Rake and RSpec

Hello everyone, I am currently running ruby-1.9.1 installed via RVM. I have been looking at using Merb, but when I try and run it I get this error: sam@shiny-dev:~/Projects/mojo$ rake db:migrate (in /home/sam/Projects/mojo) Merb root at: /home/sam/Projects/mojo /home/sam/.rvm/gems/ruby-1.9.1-p378@merb/gems/dm-validations-...

Installing Ruby-Gnome2 on Ubuntu with RVM

I have RVM running and it is working brilliantly, but I can't seem to figure out how to install ruby-gnome2. I have followed the steps on this tutorial, which are: rvm use 1.9.1 # I use 1.9.1 which should work with ruby-gnome2 wget http://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-0.19.4.tar.gz tar zxf ruby-gnome2-all-0.19.4....

no such file to load -- thinking-sphinx

When running script commands like script/console I get the error message: no such file to load -- thinking-sphinx In my evironment.rb file I have: config.gem 'thinking-sphinx', :version => '1.3.18', :require_as => 'thinking_sphinx' In my rake file: require 'thinking_sphinx/tasks' I have following versions: gem 1.3.7 ruby 1.8.7 ...

When running rdoc the folders 'images' and 'js' are not copied to the doc dir

I am running rdoc 2.5.9 and when I generate rdoc with the default 'Darkfish' template just by running: rdoc app README in my rails root folder. All the files are generated but the 'images' and 'js' folder is missing in the doc directory. So I need to copy them manualy. I have the following versions: gem 1.3.7 ruby 1.8.7 Rails 2.3.8 ...

Remove Gem from RVM Gemset?!?

New to RVM and playing with Rails 3 & Ruby 1.9.2 betas... I've got two copies of rspec in a gemset. Was using beta.19 but need to downgrade to beta.18. changed my gemfile and then bundle install. now i have a mess... *** LOCAL GEMS *** . . . rspec (2.0.0.beta.19, 2.0.0.beta.18) rspec-core (2.0.0.beta.19, 2.0.0.beta.18) rspec-expectati...

Help me organize my rubies

So I think I have a bunch of rubies scattered around here. I want to install rails 3 and watch the railscast online and the person uses rvm to manage ruby versions. I went to install rvm and followed the instruction. I got to the point where I need to do rvm install 1.9.2 EDIT: and I did rvm 1.9.2 However after the installation, I ...

Ruby 1.9.1 is not working under rvm, mac os x

I had rvm installed for several months and it has system (1.8.7) and installed (1.9.1) rubies listed. And both versions worked fine. Yesterday I tried to update 1.9.1 but after installation it wasn't working and system ruby gone from rvm list. I removed rvm, made clean install of rvm. But when I'm installing 1.9.1 via rvm it says: info:...

RVM, Ruby 1.9.2, Rails 2.3.8, Passenger and "invalid byte sequence in US-ASCII"

I just started the upgrade process from Ruby 1.8.7 to Ruby 1.9.2 (using RVM). I have all my applications running using 'script/server' (or 'rails server') with 1.9.2, however, only Rails 3.0.0 RC applications work with Passenger. The error message given by Rails 2.3.8 applications is: invalid byte sequence in US-ASCII I'm guessing ...

Installed ruby-1.9 (rvm) and rails 3, mongrel or thin uses system ruby

I am using rvm rvm list rvm rubies jruby-1.5.0 [ i386-java ] jruby-1.5.1 [ i386-java ] ruby-1.8.7-p299 [ i386 ] => ruby-1.9.2-p0 [ i386 ] with: rails -v Rails 3.0.0.rc ruby -v ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] However, when starting rails (with either webrick or thin), the ruby interpretor used is ru...

How do you update rubygems using rvm and ree?

How do you update rubygems under rvm when ree is your default vm (on Snow Leopard)? I am doing: $ rvm ree gem update --system This results in things looking like everything went fine: Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.3.7 Updating RubyGems to 1.3.7 Installing RubyGems 1.3.7 RubyGems...

Faulty ruby compilation with rvm: getting 'undefined symbol: rb_Digest_MD5_Init' while running racku

I am on Ubuntu. Any ideas? Do I have to set any compilation option? ...

zlib library problem related with Virtual Box version

Hi to all, on the last days I had a really annoying problem, that is just now solved, but I'll hope that some of you experienced it and figured out a solution for that. I created and installed Ubuntu 10.04 on Virtualbox 3.2.0 (installed under Win7-32 bits). On this VM was installed and configured rvm, ruby 1.8.7 and some gems. When trie...

How to remove rvm (ruby version manager) from my system?

Hello guys. How can I remove rvm (ruby version manager) from my system? ...

Can't run "gem list"!

I get an error when i run: vagrant@vagrantup:~$ sudo gem list ERROR: Loading command: list (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::ListCommand Even if I don't use sudo I get the same error message. It's on Ubuntu 10.4 and I have installed zlib...

Do you check in your rvmrc file?

Ruby Version Manager allows us to use an .rvmrc file in each project to set up which ruby version and gem set to load. Should this file be checked in to source control? Or does this presume too much about other developers' working environment? ...

RVM do not recognize system's ruby version

Hello, I am running ruby 1.8.7 (2009-12-24 patchlevel 248) on my fedora 13 machine. Now i want to try out ruby 1.9.2 so I installed RVM (rvm 1.0.1 by Wayne E. Seguin). I want RVM to know my system's ruby, but unfortunately when I run "rvm list" it doesn't list any rubies. How can I make rvm recognize hence switch between system's and r...

Setting up RVM gemset via Rails 3 template

I'm trying to set up an RVM gemset through a Rails 3 template and then, via commands in the template, start using the gemset and install the gems into the new gemset (named after the app). This does not seem to work properly. The new gems do not get installed into the gemset and in fact the gemset does not get created at all. Here's som...

How do I make the "1.9.2" Ruby string point to the final release with RVM?

I'm using RVM to manage my Ruby environment on OSX, and currently it's interpreting '1.9.2' as ruby-1.9.2-rc2 instead of the final release. How can I update this to make it behave as expected? ...

ruby 1.9.2 strange warning when running cucumber specs

Hi, I just updated to use rails 3 and tried my first project with rails 3. When I run my cucumber specs then I get following strange warnings /home/ubuntu/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/utils.rb:16: warning: regexp match /.../n against to UTF-8 string /home/ubuntu/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/uti...