# What is the right way to install

**URL:** <https://www.ruby-forum.com/t/what-is-the-right-way-to-install/126790>\
**Category:** Rails\
**Created:** [January 22, 2008, 8:29am UTC](https://www.ruby-forum.com/t/what-is-the-right-way-to-install/126790 "2008-01-22T08:29:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roland\_br](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b2d939/32.png) [@roland\_br](https://www.ruby-forum.com/u/roland_br)\
**Post date:** [January 22, 2008, 8:29am UTC](https://www.ruby-forum.com/t/what-is-the-right-way-to-install/126790/1 "2008-01-22T08:29:40Z")

</div>

## I am using FED 2.6.11-1.14\_FC3 If I manually download ruby and install it it places it at /usr/local/lib (When I use yum it installs it at /usr/lib, which gets an error because of, I think, the PATH) When I continue the manual way downloading rubygems and ‘gem install rails’ it works untill I use:

## class Story \<ActiveRecord::Base;end s=Story.new

Where it gets into an error looking for sqlite3

Because I would like to install it with yum, because it is logic, I  
think, and easier, I would like to know how to do it properly.

Can anybody tell me please?

Thanks,

Roland

---

<div class="post-metadata">

**Author:** ![roland\_br](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b2d939/32.png) [@roland\_br](https://www.ruby-forum.com/u/roland_br)\
**Post date:** [January 22, 2008, 10:33am UTC](https://www.ruby-forum.com/t/what-is-the-right-way-to-install/126790/2 "2008-01-22T10:33:06Z")

</div>

On 22 Jan 2008, at 07:29, Roland Brouwers wrote:

> * * *
> 
> ## class Story \<ActiveRecord::Base;end s=Story.new
> 
> Where it gets into an error looking for sqlite3
> 
> Because I would like to install it with yum, because it is logic, I  
> think, and easier, I would like to know how to do it properly.

Well you’ll need 2 things: sqlite3 itself (& dec headers) which you  
should install whatever way you fancy. On top of that you need the  
ruby bindings, which you should install via rubygems:  
gem install sqlite3-ruby

Fred
