I start to using cassandra and I want to index my db with sphinx. I wrote ruby script which is used as xmlpipe, and I configure sphinx to use it.
Let\'s say I have an arbitrarily deep nested Hash h: h = { :foo => { :bar => 1 }, :baz => 10, :quux => { :swozz => {:muux => 1000}, :grimel => 200 }
I\'m getting some string data from the web, and I suspect that it\'s not always what it says it is. I don\'t know where the problem is, and I just don\'t care any more. From day one on this project I\
I often want to take out a subpart from an Enumerable. The subpart is sometimes at the beginning and sometimes the end of the original Enumerable instance, and the length used to specify the subpart i
I have an installation of ruby 1.9.1 ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32] when I try and run a rake task I am getting an error:
I\'ve got an app that I\'m trying to get working again after wiping my system and installing Snow Leopard. I installed Ruby 1.9 from Macports (now a later version) and the dev server starts 开发者_如何
I\'m starting with Ruby, and while making some test samples, I\'ve stumbled against an error in the code that I don\'t understand why it happens.
My purpose is to install ruby/gnome2 and make it work with ruby1.9 on Ubuntu9.10. I already have ruby/gnome2 working with ruby1.8, but I need to make it work with ruby1.9. I also have ruby1.9 working
I\'m tryi开发者_高级运维ng to write a rails application where users can upload images, but Paperclip doesn\'t seem to be working for me.
So I am trying to get the cancan gem to work with my rails 3 app and I\'ve hit a problem. I tried to copy the code that Ryan Bates (the creator of the gem) used in his screen cast, but I get an error