[ruby] wxRuby安装

sudo gem install wxruby

测试是否安装成功:

bluefrog@bluefrog-laptop:~/code/ruby$ irb
irb(main):001:0> require "wx"
LoadError: no such file to load -- wx
    from (irb):1:in `require'
    from (irb):1
    from :0
irb(main):002:0> 

如果出现以上问题请先require "rubygems"

irb(main):002:0> require "rubygems"
=> true
irb(main):003:0> require "wx"
=> true
irb(main):004:0> 

posted on 2012-05-17 23:54  bluefrog  阅读(701)  评论(0编辑  收藏  举报