Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我输入irb> require 'rubygems'它返回false。我的 Rails 应用程序中有许多显然可以正常工作的宝石 - rake、activerecord 等。这里可能出了什么问题?谢谢。
irb> require 'rubygems'
红宝石 1.8.6。导轨 1.2.6
如果它不起作用,它会抛出一个异常,如果它已经加载,它会返回 false。