Skip to content

Instantly share code, notes, and snippets.

@dkowis
Created June 10, 2013 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dkowis/5745901 to your computer and use it in GitHub Desktop.
Save dkowis/5745901 to your computer and use it in GitHub Desktop.
gherkin build failure :(
$ GHERKIN_JS_NATIVE=true GHERKIN_JS=true bundle exec rake
mkdir -p /home/dkowis/gitwork/cucumber/cucumber.github.com/api/gherkin/2.12.0/ruby
/home/dkowis/gitwork/cucumber/gherkin/tasks/ragel_task.rb:25: Use RbConfig instead of obsolete and deprecated Config.
ragel -E /home/dkowis/gitwork/cucumber/gherkin/tasks/../ragel/i18n/zh_cn.js.rl -o js/lib/gherkin/lexer/zh_cn.js
sed -i "s|/home/dkowis/gitwork/cucumber/gherkin/tasks/../||" js/lib/gherkin/lexer/zh_cn.js
sed -i 's/ESCAPED_TRIPLE_QUOTE/\\\\\\"\\\\\\"\\\\\\"/' js/lib/gherkin/lexer/zh_cn.js
sed -i 's/const/var/' js/lib/gherkin/lexer/zh_cn.js
node /home/dkowis/gitwork/cucumber/gherkin/tasks/../js/node_modules/uglify-js/bin/uglifyjs js/lib/gherkin/lexer/zh_cn.js > js/lib/gherkin/lexer/zh_cn.min.js
/home/dkowis/gitwork/cucumber/gherkin/js/node_modules/uglify-js/lib/parse-js.js:271
throw new JS_Parse_Error(message, line, col, pos);
^
Error
at new JS_Parse_Error (/home/dkowis/gitwork/cucumber/gherkin/js/node_modules/uglify-js/lib/parse-js.js:263:18)
at js_error (/home/dkowis/gitwork/cucumber/gherkin/js/node_modules/uglify-js/lib/parse-js.js:271:11)
at parse_error (/home/dkowis/gitwork/cucumber/gherkin/js/node_modules/uglify-js/lib/parse-js.js:367:9)
at next_token (/home/dkowis/gitwork/cucumber/gherkin/js/node_modules/uglify-js/lib/parse-js.js:614:9)
at squeeze_it (/home/dkowis/gitwork/cucumber/gherkin/js/node_modules/uglify-js/bin/uglifyjs:282:13)
at /home/dkowis/gitwork/cucumber/gherkin/js/node_modules/uglify-js/bin/uglifyjs:229:16
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
rake aborted!
Command failed with status (8): [node /home/dkowis/gitwork/cucumber/gherkin...]
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `call'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/file_utils.rb:45:in `sh'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/file_utils_ext.rb:37:in `sh'
/home/dkowis/gitwork/cucumber/gherkin/tasks/ragel_task.rb:39:in `block in define_tasks'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:205:in `block in invoke_prerequisites'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:203:in `each'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:203:in `invoke_prerequisites'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:183:in `block in invoke_with_call_chain'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:205:in `block in invoke_prerequisites'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:203:in `each'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:203:in `invoke_prerequisites'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:183:in `block in invoke_with_call_chain'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:205:in `block in invoke_prerequisites'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:203:in `each'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:203:in `invoke_prerequisites'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:183:in `block in invoke_with_call_chain'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@global/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@cucumber/bin/ruby_noexec_wrapper:14:in `eval'
/home/dkowis/.rvm/gems/ruby-1.9.3-p385@cucumber/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => default => spec => compile => js/lib/gherkin/lexer/zh_cn.js
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment