麻烦与轨道摹rspec的:安装
问题描述:
控制台使我这个:麻烦与轨道摹rspec的:安装
/home/action/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb:44:in `require': /home/action/aptmanage/config/application.rb:31: syntax error, unexpected end-of-input, expecting keyword_end (SyntaxError)
from /home/action/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb:44:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
我该如何解决这个问题?
答
看config/application.rb文件,它可能具有不平衡的do/end关键字。
我把它放在那个文件的错误位置,并且有一个缺失的结束。现在正在工作。谢谢你的帮助! – AMT