Failing plugins discover

I wanted to install some plugins to Rails, and I was surprised with following errors:

 
[SOME SITES WITH PLUGINS]

(eval):3:in `each': undefined method `[]' for nil:NilClass (NoMethodError)
        from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:658:in `scrape'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:632:in `parse!'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:631:in `parse!'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:447:in `parse!'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:463:in `parse!'
        from /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:871
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require'
        from ./script/plugin:3

What the heck? Few days ago in other application, on the same development machine discover was successful.

I’ve jumped into Ruby, and Continue reading

DB2 and Rails

Recently I wrote about support from IBM to using DB2 with rails (prepared bundle for Windows containing Ruby, Rails and DB2 in one .msi). But it looks like DB2 is not supported very well in Rails, according to entry on RoR wiki: wiki.rubyonrails.com/rails/pages/IBM+DB2. I’m really interested in testing this out (DB2 in some simple web app in rails). Probably I do test switchover to DB2 from MySQL, and see what happens.

Why I think it is interesting? Continue reading