刚开始接触 RoR,在使用 eclipse Aptana 插件下 运行 RoR 项目时报错: .../demo/app/controllers/application_controller.rb: 1: in `': uninitialized constant ActionController (NameError) 操作步骤:application_controler.rb -> Run as -> Ruby Application
你要通过 rails s 启动,你用的插件只能运行单个独立的 ruby 脚本
建议直接上 rubymine
#1 楼 @liuminhan 多谢,放弃 eclipse 了