Advantage Database (ads) Ruby Gem (Sybase, Deprecated?)

Question

i've been trying to install this gem called advantage ontop of my

ruby -v

ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]

to use it with Rails 5.0.1.

I cannot install it with

gem install advantage -v 0.1.1

ERROR:  Could not find a valid gem 'advantage' (= 0.1.1) in any repository

So i tried to manuall download and install it manually

gem install ~/Downloads/advantage-0.1.1-x86-linux.gem

which works just fine. Then, going to my gem install path

~/.gem/ruby/2.3.0/gems/advantage-0.1.1-x86-linux

and following the instructions in the documentation

i'd try to run

rake

LoadError: cannot load such file -- rubygems/builder

which doesn't work because the requirement "rubygems/builder" cannot be fullfiled. If i replace that with "builder" it will run stop at

make: *** [Makefile:256: advantage.so] Error 1

if i now enter ext/ and run make clean and try it a third time the Makefile will successfully run.

TL:DR

next step is

rake gem

which is returning

NameError: uninitialized constant Gem::Builder Did you mean?  Builder

As we can see in the Rakefile

Line 100> Gem::Builder.new(spec).build

I believe this is because this whole thing is from late 2012 and requires old gems and an old ruby version?

Is there anything i could do?


Show source
| ruby   | rubygems   | sybase   | ads   2017-01-03 12:01 0 Answers

Answers to Advantage Database (ads) Ruby Gem (Sybase, Deprecated?) ( 0 )

Leave a reply to - Advantage Database (ads) Ruby Gem (Sybase, Deprecated?)

◀ Go back