ably / ably-ruby-rest

Ruby REST client library SDK for Ably realtime messaging service
https://ably.com/download
Other
5 stars 4 forks source link

1.1.3 issue with uninitialized constant Faraday::ServerError #14

Closed stevepetersen closed 3 years ago

stevepetersen commented 3 years ago

1.1.3 with Rails fails to build correctly. Here is the stacktrace:

$ bundle exec rake -P --trace rake aborted! NameError: uninitialized constant Faraday::ServerError /Users/steve1/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/faraday-0.12.2/lib/faraday.rb:234:in const_missing' /Users/steve1/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/ably-rest-1.1.3/lib/submodules/ably-ruby/lib/ably/rest/client.rb:37:in' /Users/steve1/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/ably-rest-1.1.3/lib/submodules/ably-ruby/lib/ably/rest/client.rb:17:in <module:Rest>' /Users/steve1/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/ably-rest-1.1.3/lib/submodules/ably-ruby/lib/ably/rest/client.rb:9:in' /Users/steve1/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/ably-rest-1.1.3/lib/submodules/ably-ruby/lib/ably/rest/client.rb:8:in <top (required)>' /Users/steve1/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/ably-rest-1.1.3/lib/submodules/ably-ruby/lib/ably/rest.rb:3:in<top (required)>' /Users/steve1/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/ably-rest-1.1.3/lib/ably-rest.rb:24:in <top (required)>' /Users/steve1/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.2.0/lib/bundler/runtime.rb:66:inrequire'

rolling back to 1.1.2 fixes the problem.

TheSmartnik commented 3 years ago

@stevepetersen thank you for reporting the problem and sorry for the slow reply. The issue has been fixed in 1.1.4 (https://github.com/ably/ably-ruby-rest/pull/12)

Until then you can manually update faraday version to '0.17.4'. It will fix the problem

stevepetersen commented 3 years ago

When will this be released? It is blocking my upgrade for other gems in my system.

Steve Petersen | Co-founder & CTO Riff | https://joinriff.com/j http://playlist.com/oinriff.com cell: 408-348-6765

On Feb 15, 2021, at 11:03 PM, Nikita Misharin @.***> wrote:

@stevepetersen https://github.com/stevepetersen thank you for reporting the problem and sorry for the slow reply. The issue has been fixed in 1.1.4 (we have a release candidate for)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ably/ably-ruby-rest/issues/14#issuecomment-779633066, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQQKRPDHW7AOEPR7AY6IMTS7IKCLANCNFSM4W7SMYZQ.

TheSmartnik commented 3 years ago

@stevepetersen It's been released as a release candidate for not. Please, use 1.1.4.rc. I'll update you as soon as we release

owenpearson commented 3 years ago

Hey @stevepetersen sorry for the delay in getting back to you, this has now been released in v1.1.6.