I installed bitfinex-api-rb with bundle successfully, after adding it to Gemsfile. Now I'm trying to load the the bitfinex-api-rb into my application in an initializer but get error when trying to start application:
LoadError: cannot load such file -- bitfinex-api-rb
This is the initializer i'm using:
require 'bitfinex-api-rb'
Bitfinex::Client.configure do |config|
config.key = GLOBAL[:bitfinex_key]
config.secret = GLOBAL[:bitfinex_secret]
config.websocket_api_endpoint = "wss://api.bitfinex.com/ws"
end
Hi,
I installed bitfinex-api-rb with bundle successfully, after adding it to Gemsfile. Now I'm trying to load the the bitfinex-api-rb into my application in an initializer but get error when trying to start application:
This is the initializer i'm using:
Any suggestion why?
Thanks.