Skip to content

Commit

Permalink
Change ruby version advertised by Autobahn client, removing the "mri-…
Browse files Browse the repository at this point in the history
…" prefix
  • Loading branch information
jcoglan committed May 17, 2020
1 parent f721686 commit f33fd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/autobahn_client.rb
Expand Up @@ -5,7 +5,7 @@
require 'progressbar'

EM.run {
ruby = RUBY_PLATFORM =~ /java/ ? 'jruby' : 'mri-ruby'
ruby = RUBY_PLATFORM =~ /java/ ? 'jruby' : 'ruby'
version = defined?(RUBY_ENGINE_VERSION) ? RUBY_ENGINE_VERSION : RUBY_VERSION
version += " (#{ RUBY_VERSION })" if ruby == 'jruby'

Expand Down

0 comments on commit f33fd69

Please sign in to comment.