我在TextMate中遇到一个错误,我尝试在TextMate中使用nokogiri 1.4.4,但是我收到了这个错误:
LoadError: no such file to load — nokogiri
method gem_original_require in custom_require.rb at line 31
method require in custom_require.rb at line 31
at top level in getBlocks.rb at line 3
但是,如果我在TextMate之外运行ruby脚本,它可以正常工作。因为 nokogiri 1.4.4在系统中!
gem list | grep nokogiri
nokogiri (1.4.4)