Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Ruby 2.0.0 with 1_8_7 constant #492

Closed
blackheaven opened this issue Jun 23, 2013 · 1 comment
Closed

Error with Ruby 2.0.0 with 1_8_7 constant #492

blackheaven opened this issue Jun 23, 2013 · 1 comment
Assignees
Milestone

Comments

@blackheaven
Copy link

Hi all,

I have done a simple $ gem install cucumber on RVM with Ruby 2.0.0 (on FreeBSD 9.1-i386 GENERIC), and, when I run $ cucumber I have the following error:

uninitialized constant Cucumber::RUBY_1_8_7 (NameError)
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/constantize.rb:36:in `constantize_name'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/constantize.rb:12:in `block in constantize'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/constantize.rb:11:in `each'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/constantize.rb:11:in `constantize'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/runtime/support_code.rb:73:in `load_programming_language'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/runtime/support_code.rb:194:in `programming_language_for'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/runtime/support_code.rb:178:in `load_file'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/runtime/support_code.rb:83:in `block in load_files!'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/runtime/support_code.rb:82:in `each'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/runtime.rb:183:in `load_step_definitions'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/runtime.rb:42:in `run!'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/lib/cucumber/cli/main.rb:47:in `execute!'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/gems/cucumber-1.3.2/bin/cucumber:13:in `<top (required)>'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/bin/cucumber:23:in `load'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/bin/cucumber:23:in `<main>'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/bin/ruby_noexec_wrapper:14:in `eval'
/home/black/.rvm/gems/ruby-2.0.0-p0@cucumber/bin/ruby_noexec_wrapper:14:in `<main>'

Have you got a simillar issue?

Thanks by advance for your help.

PS : my gems list is:

bigdecimal (1.2.0)
builder (3.2.2)
bundler (1.3.5)
cucumber (1.3.2)
diff-lcs (1.2.4)
gherkin (2.12.0)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
multi_json (1.7.7)
psych (2.0.0)
rake (10.0.4, 0.9.6)
rdoc (4.0.0)
rubygems-bundler (1.1.1)
rvm (1.11.3.7)
test-unit (2.0.0.0)
@ghost ghost assigned os97673 Jun 24, 2013
mattwynne added a commit that referenced this issue Jun 30, 2013
tooky added a commit that referenced this issue Jul 7, 2013
* origin/v1.3.x-bugfix:
  Release 1.3.3
  Fix spec change due to RSpec update.
  Fix deprecation warning in specs after RSpec upgrade
  Finalise History for 1.3.3
  Add @Spawn for Jruby access denied errors
  Nokogiri 1.6.0 does not support ruby 1.8.7
  Update History.md
  Use newer RubyGems API to look for bundler
  Fix #492
  Exclude JRuby failures
  Warn about broken spork support since 1.3.0.
  Update history

Conflicts:
	History.md
	cucumber.yml
	features/bootstrap.feature
	lib/cucumber/cli/main.rb
	lib/cucumber/platform.rb
	spec/cucumber/ast/outline_table_spec.rb
	spec/cucumber/ast/scenario_outline_spec.rb
	spec/cucumber/cli/drb_client_spec.rb
	spec/cucumber/cli/main_spec.rb
	spec/cucumber/core_ext/proc_spec.rb
	spec/cucumber/formatter/junit_spec.rb
	spec/cucumber/formatter/progress_spec.rb
@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
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

3 participants