开发者

heroku deployment error

My rails application works fine on my local machine, but on heroku it displays this error:

2011-03-27T13:21:45-07:00 app[web.1]: /app/.bundle/gems/ruby/1.8/gems/activesupp
ort-3.0.4/lib/active_support/dependencies.rb:239:in `require': /app/app/controll
ers/home_controller.rb:14: syntax error, unexpected kEND, expecting $end (Syntax
Error)

What does kEND and $end means?

How can I solve this?

Thanks,

开发者_StackOverflow

Oded

Edit:

In line 14 in the controller is - end .

I'm not missing or have too many - end in my code.


Solved it. The problem was that there was some Hebrew text in the controller. The weird thing is that the controller was in utf8.

I guess that heroku can read hebrew.


Check the home controller on line 14 - you're probably missing a }, ), or an end somewhere.

If you can't fix the error, paste some code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜