0

I downloaded the source code for "Ruby Linguistics With Verb Conjugation".

How can I install it for usage? Do I need to compile it into some gem?

the Tin Man
  • 158,662
  • 42
  • 215
  • 303
lkahtz
  • 4,706
  • 8
  • 46
  • 72

3 Answers3

2

cd into the directory and run rake, then install the gem:

$ git clone https://github.com/bdigital/ruby_linguistics_with_verb_conjugation.git
$ cd ruby_linguistics_with_verb_conjugation
$ rake
...lots of output...
  Successfully built RubyGem
  Name: linguistics
  Version: 1.0.8
  File: linguistics-1.0.8.gem
  mv linguistics-1.0.8.gem pkg/linguistics-1.0.8.gem
$ cd pkg
$ gem install linguistics-1.0.8.gem

Done!

Chris Cherry
  • 28,118
  • 6
  • 68
  • 71
0

After failing to run rake on the mac, this worked on the mac:

sudo gem install linguistics 

Then, you need to run it from your script:

require "rubygems"
require "linguistics"

Thanks, Tin Man.

Michael Douma
  • 1,144
  • 8
  • 21
0

There is a Linguistics gem. Did you try gem install linguistics? If you're not running RVM you'll want to use sudo.

the Tin Man
  • 158,662
  • 42
  • 215
  • 303