From: Josh Cheek Date: 2010-11-22T07:59:40+09:00 Subject: Re: Ruby 1.9.2 is released --0016e6465148dc689e049598175a Content-Type: text/plain; charset=ISO-8859-1 On Sun, Nov 21, 2010 at 4:15 PM, Shoaib Ali wrote: > even after nuking /usr/local/lib/ruby/site_ruby/1.9.1/rubygems > > I was still having grief so, this is what I did. > > X:/usr/local/lib/ruby$ rm -rf site_ruby > X:/usr/local/lib/ruby$ sudo ln -s 1.9.1/ site_ruby > X:/usr/local/lib/ruby$ ls -lah > total 20K > drwxr-xr-x 5 root root 4.0K 2010-11-22 10:58 . > drwxr-xr-x 5 root root 4.0K 2010-11-22 10:54 .. > drwxr-xr-x 33 root root 4.0K 2010-11-21 22:45 1.9.1 > drwxr-xr-x 3 root root 4.0K 2010-06-02 13:29 gems > lrwxrwxrwx 1 root root 6 2010-11-22 10:58 site_ruby -> 1.9.1/ > drwxr-xr-x 3 root root 4.0K 2010-06-02 10:53 vendor_ruby > > > But.. now rake is still broken :( > > rake -version > rake aborted! > undefined local variable or method `rsion' for > # > /usr/local/lib/ruby/site_ruby/rake.rb:2207:in `eval' > /usr/local/lib/ruby/site_ruby/rake.rb:2207:in `eval' > > -- > Posted via http://www.ruby-forum.com/. > > The error message says "undefined local variable or method `rsion'" that seems pretty clear to me that Rake got loaded correctly and just doesn't like your flag. So I tried `$ rake -h` and see that it is supposed to be "--version" (two dashes). --0016e6465148dc689e049598175a--