ok, where do we start....
First, here is a command that should show you which OS you are using:
On RedHat you use yum instead of apt-get. For example: to list packages that contain sqlite in the name do this:
Code:
yum list '*sqlite*'
when I do this I get this list (being on a i386 system):
Installed Packages
python-sqlite.i386 1.1.7-1.2.1 installed
sqlite.i386 3.3.6-2 installed
sqlite-devel.i386 3.3.6-2 installed
Available Packages
...
I can now install with this command:
Code:
sudo yum install sqlite.i386 sqlite-devel.i386
You do need to be the root user for your
sytem for this and that has nothing to do with the root for your database.
Ruby should be installed on your system already but you can check with yum whether you can install any update packages (in that case use yum update).
You will also want to install the sqlite ruby gem:
Code:
gem install sqlite-ruby
Of course you need rubygems for that first (
see here)
and then you can install rails:
GOOD LUCK!!!