kristianmandrup/cantango — pull request #7 by stanislaw (2011-10-19 10:10:17+00:00)
Title: Fix: Rails app fails to start after bundling latest CanTango

=> Booting WEBrick
=> Rails 3.1.1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/home/stanislaw/.rvm/gems/ruby-1.9.2-p180@310/gems/cantango-0.9.2.2/lib/cantango/rails/helpers/base_helper.rb:7:in `included':
/home/stanislaw/.rvm/gems/ruby-1.9.2-p180@310/gems/cantango-0.9.2.2/lib/cantango/rails/helpers/rest_helper.rb:10: syntax error, unexpected
tIDENTIFIER, expecting ';' or '\n' (SyntaxError)
def link_to_new obj user_type, options = {}
^
/home/stanislaw/.rvm/gems/ruby-1.9.2-p180@310/gems/cantango-0.9.2.2/lib/cantango/rails/helpers/rest_helper.rb:52: syntax error, unexpected
keyword_end, expecting $end
from /home/stanislaw/.rvm/gems/ruby-1.9.2-p180@310/gems/cantango-0.9.2.2/lib/cantango/rails/helpers/controller_helper.rb:5:in `include'
from /home/stanislaw/.rvm/gems/ruby-1.9.2-p180@310/gems/cantango-0.9.2.2/lib/cantango/rails/helpers/controller_helper.rb:5:in
`'