rails 资源汇总
1. RbConfig
ruby的配置文件,安装后就存在, 在安装目录内,可以查看ruby详细的配置信息
路径示例: C:\Ruby187\lib\ruby\1.8\i386-mingw32\rbconfig
内容示例:
# This file was created by mkconfig.rb when ruby was built. Any # changes made to this file will be lost the next time ruby is built. module Config RUBY_VERSION == "1.8.7" or raise "ruby lib version (1.8.7) doesn't match executable version (#{RUBY_VERSION})" TOPDIR = File.dirname(__FILE__).chomp!("/lib/ruby/1.8/i386-mingw32") DESTDIR = TOPDIR && TOPDIR[/\A[a-z]:/i] || '' unless defined? DESTDIR CONFIG = {} CONFIG["DESTDIR"] = DESTDIR CONFIG["PATCHLEVEL"] = "334"
2. ruby自身带的帮助文件
ruby安装目录doc下含有一些常用的帮助文件外,还含有booktoruby.pdf一本书,值得一看。