Open Sjors opened 8 years ago
As a workaround, I just downloaded lib/kraken_ruby/client.rb
into my project and used require './client.rb'
I get the same error..
It seems like the installed gem is just an empty directory when installing via RubyGems. You can check this with e.g. ls $(bundle show kraken_ruby)
after an install.
Cloning this repository and building/installing the gem from scratch worked fine, and I was able to use it as expected.
The 0.5.0 release on RubyGems looks suspiciously small at 4.5kb, whereas the previous releases were anywhere from 23kb to 320kb. Possibly a borked upload?
Update: Yeah, just to confirm that the 0.4.2 release installs just fine from RubyGems and works as expected.
I made a fork of kraken_ruby if you are interested to bypass this issue: https://github.com/shideneyu/kraken_client
Also, It has much more features.
Steps to reproduce, using RVM with Ruby 2.3.0 on a Mac (El Capitan), bundler 1.11.2:
Gemfile contents:
In the console:
I also tried
require 'ruby-kraken'
, which results inLoadError: cannot load such file -- kraken-ruby
I noticed that
~/.rvm/gems/ruby-2.3.0/gems/kraken_ruby-0.5.0
is empty.I tried without bundler as well, i.e.
gem install kraken_ruby
followed byirb
, but no luck. I also tried with older versions of Ruby (e.g. 2.1.3) and older versions of bundler (e.g. 1.7.4).