Ruby 1.9.2 is released

On Sun, Nov 21, 2010 at 4:15 PM, Shoaib A. [email protected] wrote:

drwxr-xr-x 33 root root 4.0K 2010-11-21 22:45 1.9.1
#Rake::Application:0x8f60ad8
/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).

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

Josh C. wrote in post #963008:

On Sun, Nov 21, 2010 at 4:15 PM, Shoaib A. [email protected] wrote:

drwxr-xr-x 33 root root 4.0K 2010-11-21 22:45 1.9.1
#Rake::Application:0x8f60ad8
/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).

Yes my bad sorry. Now I am trying to get my app working but seems like
that symlinking wasn’t such a good idea after all (maybe).

Getting all sorts of exceptions when running unicorn with -d

Exception `NoMethodError’ at
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/lazy_specification.rb:66

  • undefined method to_ary' for bundler (1.0.7):Bundler::LazySpecification Exception NoMethodError’ at
    /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/lazy_specification.rb:66
  • undefined method to_ary' for ruby-prof (0.9.2):Bundler::LazySpecification Exception NameError’ at
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/core_ext/module/remove_method.rb:3
  • method task_ids=' not defined in Tag Exception NilClass’ at
    /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_record/base.rb:1008
  • undefined method to_ary' for Tag(id: integer, company_id: integer, name: string):Class Exception RuntimeError’ at
    /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239

Exception RuntimeError' at /usr/local/lib/ruby/gems/1.9.1/gems/unicorn-3.0.0/lib/unicorn.rb:30 - /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require’: unhandled exception
from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in
block in require' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:227:in load_dependency’