运行项目时出现此错误:
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require':
no such file to load -- haml (MissingSourceFile)
答案 0 :(得分:1)
您安装了haml rubygem吗?
gem install haml
答案 1 :(得分:1)
您可能需要添加:
config.gem haml
到您的environment.rb文件