Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Unable to compile #318

Open
robzenn92 opened this issue Sep 10, 2014 · 0 comments
Open

Unable to compile #318

robzenn92 opened this issue Sep 10, 2014 · 0 comments

Comments

@robzenn92
Copy link

Hi!
I am trying to compile the original gherkin gem with:

ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.3.0]

I downloaded the repo and I followed the following steps:

gem install bundler
bundle install

When I execute rake clean spec I get this error:

mkdir -p /Users/Roberto/Documents/.../cucumber.github.com/api/gherkin/2.12.2/ruby
ragel -R /Users/Roberto/Documents/.../gherkin/tasks/../ragel/i18n/zh_tw.rb.rl -o lib/gherkin/lexer/zh_tw.rb
ragel: more than one input file name was given
rake aborted!
Command failed with status (1): [ragel -R /Users/Roberto/Documents/...]
/Users/Roberto/Documents/.../gherkin/tasks/ragel_task.rb:31:in `block in define_tasks'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/bin/ruby_executable_hooks:15:in `eval'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => spec => compile => lib/gherkin/lexer/zh_tw.rb

This is the result with the --trace option.

mkdir -p /Users/Roberto/Documents/.../cucumber.github.com/api/gherkin/2.12.2/ruby
** Invoke clean (first_time)
** Execute clean
** Invoke spec (first_time)
** Invoke compile (first_time)
** Invoke lib/gherkin/lexer/zh_tw.rb (first_time)
** Invoke /Users/Roberto/Documents/.../gherkin/tasks/../ragel/i18n/zh_tw.rb.rl (first_time)
** Invoke /Users/Roberto/Documents/.../gherkin/tasks/../ragel/lexer.rb.rl.erb (first_time, not_needed)
** Execute /Users/Roberto/Documents/.../gherkin/tasks/../ragel/i18n/zh_tw.rb.rl
** Invoke /Users/Roberto/Documents/.../gherkin/tasks/../ragel/i18n/lexer_common.zh_tw.rl (first_time)
** Invoke /Users/Roberto/Documents/.../gherkin/tasks/../ragel/lexer_common.rl.erb (first_time, not_needed)
** Execute /Users/Roberto/Documents/.../gherkin/tasks/../ragel/i18n/lexer_common.zh_tw.rl
** Execute lib/gherkin/lexer/zh_tw.rb
ragel -R /Users/Roberto/Documents/Fbk .../gherkin/tasks/../ragel/i18n/zh_tw.rb.rl -o lib/gherkin/lexer/zh_tw.rb
ragel: more than one input file name was given
rake aborted!
Command failed with status (1): [ragel -R /Users/Roberto/Documents/...]
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/file_utils.rb:54:in `block in create_shell_runner'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/file_utils.rb:45:in `call'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/file_utils.rb:45:in `sh'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/file_utils_ext.rb:37:in `sh'
/Users/Roberto/Documents/.../gherkin/tasks/ragel_task.rb:31:in `block in define_tasks'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:240:in `call'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:240:in `block in execute'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:235:in `each'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/Users/Roberto/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:199:in `each'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/Users/Roberto/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:199:in `each'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/Users/Roberto/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/application.rb:106:in `each'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/application.rb:106:in `block in top_level'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/application.rb:78:in `block in run'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/bin/rake:23:in `load'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/bin/rake:23:in `<main>'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/bin/ruby_executable_hooks:15:in `eval'
/Users/Roberto/.rvm/gems/ruby-2.0.0-p247@cucumber/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => spec => compile => lib/gherkin/lexer/zh_tw.rb

I am running this on a mac with OS X 10.9.4.
Can anyone help me?
Thanks in advance,
Roberto.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant