所以我对Rails 3有点新,而且我试图将Google Maps与Rails应用程序集成。使用ym4r_gm插件时出现“未初始化的常量ActionView :: CompiledTemplates :: GMap”错误
我从git://github.com/rorcraft.ym4r_gm.git安装了ym4r_gm,我按照http://blog.brijeshshah.com/google-maps-in-ruby-on-rails/和http://blog.brijeshshah.com/google-maps-in-rails-3/的教程。
遵循本教程后,我尝试运行我的应用程序,但出现“关于”<%= raw Gmap.header%>“行的”未初始化的常量ActionView :: CompiledTemplates :: GMap“错误。我已经安装了ym4r_gm-0.2.0 gem和ym4r-0.6.1 gem。有关如何解决此问题的任何建议?