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

Steam fails under ruby 1.9 #3

Open
kschiess opened this issue Feb 24, 2010 · 1 comment
Open

Steam fails under ruby 1.9 #3

kschiess opened this issue Feb 24, 2010 · 1 comment

Comments

@kschiess
Copy link

Steam doesn't currently work with ruby 1.9. I get the following stack trace:

Using the steam profile...
undefined method const_set_nested' for Net:Module (NoMethodError) /usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/java.rb:17:inconst_set_nested'
/usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/java.rb:38:in import' /usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/java.rb:48:ininit'
/usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/java.rb:36:in import' /usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/browser/html_unit/client.rb:10:inclass:Client'
/usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/browser/html_unit/client.rb:7:in <class:HtmlUnit>' /usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/browser/html_unit/client.rb:6:inmodule:Browser'
/usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/browser/html_unit/client.rb:5:in <module:Steam>' /usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/browser/html_unit/client.rb:4:in<top (required)>'
/usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/steam-0.0.2/lib/steam/browser/html_unit.rb:25:in initialize' /Users/kschiess/git/giuz/projects/rbrain/central/features/steam/support/steam_setup.rb:9:innew'
/Users/kschiess/git/giuz/projects/rbrain/central/features/steam/support/steam_setup.rb:9:in <top (required)>' /usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/polyglot-0.2.9/lib/polyglot.rb:70:inrequire'
/usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/polyglot-0.2.9/lib/polyglot.rb:70:in require' /usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:inrequire'
/usr/local/share/ruby19/lib/ruby/gems/1.9.1/gems/cucumber-0.6.2/lib/cucumber/rb_support/rb_language.rb:124:in `load_code_file'
(snippage)

If I knew how to run steams tests, I would try to help...
kaspar

@svenfuchs
Copy link
Owner

Hi Kaspar,

thanks for reporting this as well as for the pull request.

I've been thinking of replacing the implementation of some of what's in

http://github.com/kschiess/steam/blob/master/lib/steam/java.rb

with this:

http://github.com/sklemm/jrequire/blob/master/lib/java.rb

Do you think that would work?

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

No branches or pull requests

2 participants