railslove / epics

EBICS client for Ruby
https://www.railslove.com/stories/ebics-client-for-ruby
GNU Lesser General Public License v3.0
109 stars 42 forks source link

uninitialized constant Epics::Client::Client #16

Closed charlycoste closed 10 years ago

charlycoste commented 10 years ago

On Ubuntu 14.04 LTS, I installed epics this way: gem install --user-install epics and when I do :

require 'epics'
e = Epics::Client.setup("my-super-secret", "https://ebics.sandbox", "SIZBN001", "EBIX", "EPICS")

I get this error (user is my local username, and my_file.rb is the name of my script) :

/home/user/.gem/ruby/1.9.1/gems/epics-1.1.1/lib/epics/client.rb:59:in `setup': uninitialized constant Epics::Client::Client (NameError)
    from my_file.rb:2:in `<main>'
charlycoste commented 10 years ago

Maybe it's a problem with my version of Ruby (ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]).

But fix #17 seems to solve the problem.