-
Notifications
You must be signed in to change notification settings - Fork 29
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
syntax error running 'rubrowser' #10
Comments
hello @wkaskie , what's the output of :
|
Hi!
Thanks so much for your reply!
I had to install a few specific versions of dependencies. The entire
output is below.
terminal$ gem install rubrowser
Fetching puma-4.2.1.gem
Fetching litecable-0.6.0.gem
Fetching anyway_config-1.4.4.gem
Fetching ast-2.4.0.gem
Fetching rubrowser-2.7.1.gem
Fetching parser-2.6.5.0.gem
Fetching websocket-1.2.8.gem
Fetching nio4r-2.5.2.gem
Successfully installed ast-2.4.0
Successfully installed parser-2.6.5.0
ERROR: Error installing rubrowser:
The last version of nio4r (~> 2.0) to support your Ruby & RubyGems
was 2.3.1. Try installing it with `gem install nio4r -v 2.3.1` and then
running the current command again
nio4r requires Ruby version >= 2.3. The current ruby version is
2.2.5.319.
terminal$ gem install nio4r -v 2.3.1
Fetching nio4r-2.3.1.gem
Building native extensions. This could take a while...
Successfully installed nio4r-2.3.1
Parsing documentation for nio4r-2.3.1
Installing ri documentation for nio4r-2.3.1
Done installing documentation for nio4r after 0 seconds
1 gem installed
terminal$ gem install rubrowser
Building native extensions. This could take a while...
Successfully installed puma-4.2.1
ERROR: Error installing rubrowser:
The last version of anyway_config (>= 1.0) to support your Ruby &
RubyGems was 1.2.0. Try installing it with `gem install anyway_config -v
1.2.0` and then running the current command again
anyway_config requires Ruby version >= 2.3. The current ruby
version is 2.2.5.319.
terminal$ gem install anyway_config -v 1.2.0
Fetching anyway_config-1.2.0.gem
Successfully installed anyway_config-1.2.0
Parsing documentation for anyway_config-1.2.0
Installing ri documentation for anyway_config-1.2.0
Done installing documentation for anyway_config after 0 seconds
1 gem installed
terminal$ gem install rubrowser
ERROR: Error installing rubrowser:
The last version of litecable (>= 0) to support your Ruby &
RubyGems was 0.5.0. Try installing it with `gem install litecable -v 0.5.0`
and then running the current command again
litecable requires Ruby version >= 2.4.0. The current ruby version
is 2.2.5.319.
terminal$ gem install litecable -v 0.5.0
Fetching litecable-0.5.0.gem
Successfully installed litecable-0.5.0
Parsing documentation for litecable-0.5.0
Installing ri documentation for litecable-0.5.0
Done installing documentation for litecable after 0 seconds
1 gem installed
terminal$ gem install rubrowser
Successfully installed websocket-1.2.8
Successfully installed rubrowser-2.7.1
Parsing documentation for websocket-1.2.8
Installing ri documentation for websocket-1.2.8
Parsing documentation for rubrowser-2.7.1
Installing ri documentation for rubrowser-2.7.1
Done installing documentation for websocket, rubrowser after 0 seconds
2 gems installed
terminal$
…On Thu, Oct 24, 2019 at 4:30 AM Emad Elsaid ***@***.***> wrote:
hello @wkaskie <https://github.com/wkaskie> , what's the output of :
gem install rubrowser
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=ADNPFVVIU7AEUW3AH44D2OTQQFMKHA5CNFSM4JDAJHJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECEF4KI#issuecomment-545807913>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNPFVUW6NLYIPLZ4EYJTV3QQFMKHANCNFSM4JDAJHJA>
.
--
Wayne
|
I see that the root problem here is the ruby version, I think the gems versions I used doesn't support 2.2. so my recommendation is to update your ruby version |
Thanks. It's an enterprise app so I can't update it on production, but I'll
try creating a gemset just to run rubrowser in.
What is the lowest version of Ruby that the tool supports?
…On Fri, Oct 25, 2019 at 8:54 AM Emad Elsaid ***@***.***> wrote:
I see that the root problem here is the ruby version, I think the gems
versions I used doesn't support 2.2.
I'm not sure if we should support that ruby version by lowering the gems
versions because it seems these gems abandoned this ruby version and so
rubrowser should.
so my recommendation is to update your ruby version
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=ADNPFVXTPXUQ6ZKSLO2I4PTQQLT7TA5CNFSM4JDAJHJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECIIIIY#issuecomment-546341923>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNPFVQYIVMGY54A633NK73QQLT7TANCNFSM4JDAJHJA>
.
--
Wayne
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run rubrowser, this happens:
moadadmins-MacBook-Pro:directory userFolder$ rubrowser
/Users/userFolder/.rvm/rubies/ruby-2.2.6/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': /Users/userFolder/.rvm/gems/ruby-2.2.6@project-mapper/gems/litecable-0.5.0/lib/lite_cable/anycable.rb:29: syntax error, unexpected '.' (SyntaxError)
subscriptions&.each { |id| @subscriptions.add(id, false) }
The text was updated successfully, but these errors were encountered: