# Need help to install "linguistics" gem

**URL:** <https://www.ruby-forum.com/t/need-help-to-install-linguistics-gem/151123>\
**Category:** Ruby\
**Created:** [October 17, 2008, 5:00am UTC](https://www.ruby-forum.com/t/need-help-to-install-linguistics-gem/151123 "2008-10-17T05:00:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hunt\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b9e5f3/32.png) [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Post date:** [October 17, 2008, 5:00am UTC](https://www.ruby-forum.com/t/need-help-to-install-linguistics-gem/151123/1 "2008-10-17T05:00:54Z")

</div>

Hi,

I have a problem with installing gem: linguistics.

sudo gem install linguistics

Gave me “not found” error. So I googled and found the source here.

> **[dev(E)iate](https://deveiate.org/)**
>
> The personal website of Michael Granger.

The gem seems to be located at  
[http://www.deveiate.org/code/Linguistics-1.0.5.gem](http://www.deveiate.org/code/Linguistics-1.0.5.gem)

I don’t know how I can install this gem.

Can any body help on this?

-J

---

<div class="post-metadata">

**Author:** ![Hunt\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b9e5f3/32.png) [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Post date:** [October 17, 2008, 5:13am UTC](https://www.ruby-forum.com/t/need-help-to-install-linguistics-gem/151123/2 "2008-10-17T05:13:46Z")

</div>

Simply download it to your local drive… then do something like  
this:bash-3.2$  
cd /cygdrive/d/Downloads/  
bash-3.2$ gem install Linguistics-1.0.5.gem  
Successfully installed Linguistics-1.0.5  
1 gem installed

Specifically, for this instance, it was done on Windows using my Cygwin  
environment.

---

<div class="post-metadata">

**Author:** ![Hunt\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b9e5f3/32.png) [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Post date:** [October 17, 2008, 5:17am UTC](https://www.ruby-forum.com/t/need-help-to-install-linguistics-gem/151123/3 "2008-10-17T05:17:17Z")

</div>

On Oct 16, 10:59 pm, “Hunt J.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi,
> 
> I have a problem with installing gem: linguistics.
> 
> sudo gem install linguistics
> 
> Gave me “not found” error. So I googled and found the source here.[dev(E)iate](http://www.deveiate.org/projects/Linguistics/)  
> The gem seems to be located athttp://www.deveiate.org/code/Linguistics-1.0.5.gem
> 
> I don’t know how I can install this gem.

I’m assuming you have RubyGems installed already. Just download  
the .gem file and then use a terminal/console:

Linux:

$ sudo gem install Linguistics-1.0.5.gem

Windows:

> gem install Linguistics-1.0.5.gem

T.

---

<div class="post-metadata">

**Author:** ![Hunt\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b9e5f3/32.png) [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Post date:** [October 17, 2008, 8:23am UTC](https://www.ruby-forum.com/t/need-help-to-install-linguistics-gem/151123/4 "2008-10-17T08:23:18Z")

</div>

Solved.

I opened up the directory “Linguistics-1.0.5.gem” and found two files  
“metadata.tar.gz” and “data.gz”.  
I extracted both archives, and "cd"ed to “data” directory.

There I ran a command.

pwd #=\> /Users/myusernamei/Desktop/Linguistics-1.0.5.gem/data  
sudo gem install Linguistics

Now the installation was successful.

Thanks for your help, guys.

---

<div class="post-metadata">

**Author:** ![Hunt\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b9e5f3/32.png) [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Post date:** [October 17, 2008, 8:02am UTC](https://www.ruby-forum.com/t/need-help-to-install-linguistics-gem/151123/5 "2008-10-17T08:02:11Z")

</div>

I’m still getting the same error.

I downloaded the “Linguistics-1.0.5.gem.tar” file on my desktop.  
Then, I double-clicked and expanded and now there is a new directory  
“Linguistics-1.0.5.gem” on my desktop.  
Next, I launch Terminal and `cd` to desktop. `cd ~/Desktop`.

Then, I run

sudo gem install Linguistics-1.0.5.gem

The error I get is:

ERROR: could not find gem Linguistics-1.0.5.gem locally or in a  
repository

I wonder where gem is searching locally. I may need to place the .gem  
directory somewhere specified.

I ran `gem environment` and here’s output.

gem environment  
RubyGems Environment:

- RUBYGEMS VERSION: 1.2.0
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]
- INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /opt/local/bin/ruby
- EXECUTABLE DIRECTORY: /opt/local/bin
- RUBYGEMS PLATFORMS:
  - ruby
  - x86-darwin-9

- GEM PATHS:
  - /opt/local/lib/ruby/gems/1.8

- GEM CONFIGURATION:
  - :update\_sources =\> true
  - :verbose =\> true
  - :benchmark =\> false
  - :backtrace =\> false
  - :bulk\_threshold =\> 1000
  - :sources =\> [“[http://gems.rubyforge.org/](http://gems.rubyforge.org/)”,  
“[http://gems.github.com](http://gems.github.com)”]

- REMOTE SOURCES:
  - [http://gems.rubyforge.org/](http://gems.rubyforge.org/)
  - [http://gems.github.com](http://gems.github.com)
