kinderly/axiomus_api — pull request #1 by kinderly-deploy (2014-07-13 08:39:14+00:00)
Title: Почему-то на ruby 2.0 после require_relative вызов require честно пытает...

...ся подгрузить файл второй раз:

2.0.0-p247 :001 > require 'axiomus_api'
/home/deploy/.rvm/gems/ruby-2.0.0-p247/gems/axiomus_api-0.5.1/lib/axiomus_api/errors.rb:2: warning: already initialized constant AxiomusApi::Errors::Error
/usr/home/deploy/.rvm/gems/ruby-2.0.0-p247/gems/axiomus_api-0.5.1/lib/axiomus_api/errors.rb:2: warning: previous definition of Error was here
TypeError: superclass mismatch for class RequestError
from /home/deploy/.rvm/gems/ruby-2.0.0-p247/gems/axiomus_api-0.5.1/lib/axiomus_api/errors.rb:4:in `'
from /home/deploy/.rvm/gems/ruby-2.0.0-p247/gems/axiomus_api-0.5.1/lib/axiomus_api/errors.rb:1:in `'
from /home/deploy/.rvm/gems/ruby-2.0.0-p247/gems/axiomus_api-0.5.1/lib/axiomus_api.rb:33:in `require_relative'
from /home/deploy/.rvm/gems/ruby-2.0.0-p247/gems/axiomus_api-0.5.1/lib/axiomus_api.rb:33:in `block in '
from /home/deploy/.rvm/gems/ruby-2.0.0-p247/gems/axiomus_api-0.5.1/lib/axiomus_api.rb:32:in `each'
from /home/deploy/.rvm/gems/ruby-2.0.0-p247/gems/axiomus_api-0.5.1/lib/axiomus_api.rb:32:in `'
from /home/deploy/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
from /home/deploy/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
from /home/deploy/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from (irb):1
from /home/deploy/.rvm/rubies/ruby-2.0.0-p247/bin/irb:12:in `

'