Displaying 1 result from an estimated 1 matches for "givetothem".
2009 Oct 23
2
Deployment syntax error: fine in dev - what's happening?
...deploying an app (using Capistrano) to a staging server prior to
final deployment. The app runs fine in dev, but in staging it throws a
syntax error. How can that be?
The error is:
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'':
/Library/WebServer/staging.givetothem.co.uk/releases/20091023133654/app/controllers/bulkimport_controller.rb:32:
syntax error, unexpected kRESCUE, expecting kEND (SyntaxError)
rescue Exception
^
The code generating the error is:
begin
@parsed_file=CSV::Reader.parse(params[:dump][:file])
n=0...