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.
我ruby -v的是: ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin12.2.0]
ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin12.2.0]
但是尝试调用 Random 会导致以下错误: uninitialized constant Random (NameError)
uninitialized constant Random (NameError)
有谁知道解决这个问题的方法?我听说 Random 是从 1.9.2 定义的。:(
谢谢你。