Wednesday, November 25, 2009
Wednesday, April 22, 2009
Fixed readline issue of irb in maemo ruby for n810
It's very annoying that the irb in maemo does not support the readline feature.
Finally, I resolved this!
Steps:
Done! Enjoy ruby!
Finally, I resolved this!
Steps:
- Install libreadline5 and libreadline5-dev, depends on libncurses5
- download ruby source code: ruby_1_8
- cd (ruby_src_dir)/ext/readline
- ruby extconf.rb
- make
- sudo make install
Done! Enjoy ruby!
Tuesday, April 21, 2009
test
def test
if object.respond_to? "guagua" && object.respond_to? "walk"
#object is almost a duck!
end
end
Subscribe to:
Posts (Atom)