ruby
wolfskychina
这个作者很懒,什么都没留下…
展开
-
rubygems load error
提示说找不到zlib,可是系统明明装了。然后怀疑是ruby或gem安装问题,重装了ruby和gem,折腾了整整一天。看来自己下源代码make也不是万能的 ,还得Google。。。最后看到网上的办法,要到ruby的源码包里找到ext/zlib,在这里面装zlib 1cd ext/zlib2ruby ./extconf.rb3make4make install使用fedora14,遇到相同问题的人使用的是RH。。。Google结果其他的Linux没有这种问题原创 2011-03-17 18:30:00 · 269 阅读 · 0 评论 -
RubyCodingConvention
RubyCodingConvention File Names Directory and File names and Suffixes Ruby source code file/directory name is lower case class/module name with suffix '.rb'. ex. Foo class => foo.rb Bar module => bar.rb FooBar class => foobar.rb (Normal Rule)原创 2011-03-24 17:07:00 · 232 阅读 · 0 评论