tyrauber / stock_quote

A ruby gem that retrieves stock quotes from IEX
MIT License
210 stars 57 forks source link

Rails 5 Cipher Not Found #34

Closed ryanoff closed 7 years ago

ryanoff commented 7 years ago

Since upgrading to Rails 5 ( using Ruby 2.4.1 ), I am getting the following error when trying to receive a stock price via stock_quote: key not found: :ciphers

Here is the console output:

Loading development environment (Rails 5.0.2)
2.4.1 :001 >     @stock = StockQuote::Stock.quote("aapl")
KeyError: key not found: :ciphers
tyrauber commented 7 years ago

@ryanoff What's the full stacktrace?

KharkivReM commented 7 years ago

@ryanoff I got the same problem. Should be fixed by upgrading rest-client to 2.0.2 https://github.com/tyrauber/stock_quote/pull/37/files

tyrauber commented 7 years ago

Resolved. Thanks folks.