RailsCasts Pro episodes are now free!

Learn more or hide this

Ankur Patel's Profile

GitHub User: ankurp

Site: http://snapquest.me/

Comments by Ankur Patel


Found the error was in the profiler.rb script where there was a parameter after the optional parameter which was required when it should be optional as well with an = nil


Hi I am getting the following error when starting rails server after installing the gem using bundle install. Has anyone seen this and know how to resolve it. I am using ruby 1.8.7 and rails 3.2

ankur@ankurmac ~/D/c/b/openslot> rails s
/Users/ankur/.rvm/gems/ruby-1.8.7-p370/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require': /Users/ankur/.rvm/gems/ruby-1.8.7-p370/gems/rack-mini-profiler-0.1.18/lib/mini_profiler/profiler.rb:375: syntax error, unexpected ')', expecting '=' (SyntaxError)