Installation issues - rails non-existant

So, I installed ruby1.8 and gems via apt-get on Debian Etch and typed
the usual
“gem install rails --include-dependencies”.

Got a success message in the process and proceeded to install the
postgresql-driver to connect to the database via

“gem install postgres”.

I had forgotten to get the development-packages, though (which yielded a
lot of errors but told me that the install was successful?), a quick
“apt-get install ruby1.8-dev postgres-dev” solved it.

Only that the messages in-between now stated after the “make
install”-part that there was nothing to do, but the install was
successful (again).

IRB and a “require ‘postgresql’” stated, however, that there was no such
thing as this adapter. To see if that was really so, I wanted to create
a quick scaffold by using “rails test”… only to be told that there’s
no such thing as a file named “rails”. Nor was “find” able to locate

Now, here I am, a tad frustrated because the documents regarding this
error speak of directories which do not exist on my system…

Nevermind, fixed it myself.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs