Linux install of RR


#1

Hi. I’ve installed ruby, gems, rails into a user directory according to
the
installation instructions (for linux). I haven’t setup any path
information
nor setup any symlinks or any compilation options. When I try rails, I
find
that the system accesses controllers but that the corresponding views
are
not displayed. I wonder if there is something that I forgot to
configure
that might be causing this. Sincerely, Barney T…


#2

Hi Barney,

Could you share a little more information about your situation, like
which
Linux distro you’re using, how you generated your Rails app, and how
you’re
running it?

For example, did you use script/generate or just create the controllers
by
hand, and which server are you using - Apache, Webbrick, lighttp?

cheers

On Monday 26 December 2005 9:07 am, Barney T. wrote:

Hi. I’ve installed ruby, gems, rails into a user directory according to
the installation instructions (for linux). I haven’t setup any path
information nor setup any symlinks or any compilation options. When I try
rails, I find that the system accesses controllers but that the
corresponding views are not displayed. I wonder if there is something that
I forgot to configure that might be causing this. Sincerely, Barney T…

Mark B.
Easy Schedule Management
http://easy-online-schedule.com


#3

Barney,

I’ve installed RoR under SuSE Linux. You will need a database. I used
LAMPP (XAMPP) to do my phpMyAdmin. It made things sweet.


#4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Barney T. wrote:

Hi. I’ve installed ruby, gems, rails into a user directory according to
the installation instructions (for linux). I haven’t setup any path
information nor setup any symlinks or any compilation options. When I
try rails, I find that the system accesses controllers but that the
corresponding views are not displayed. I wonder if there is something
that I forgot to configure that might be causing this. Sincerely,
Barney T…

Barney,

I’ve successfully installed Ruby and Rails on Fedora FC3/FC4 (via yum)
and Kubuntu Linux (via apt-get) using pre-compiled packages from the
public repositories. It’s usually much easier to do it that way, no
worries about paths and environments and where to put stuff. Then I
download gems, build and install it as root and then gem install rails.
The only thing I do after that is download native mysql, which usually
requires extra libraries to compile and some flags being set for paths.

What distribution and what instructions have you been following ? The
Prag Prog Agile Web book ?

Yan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDr370rgZ25EQKEI0RAkg1AJ9sU+lMqehNalMSCEuAh8yMH7I2VACdE0Nc
KkArBhzPO8ac/XiNlVHugRM=
=FsZh
-----END PGP SIGNATURE-----


#5

What kind of views you generated? I’m using Rails on Suse 9.3, with
Postgresql, and I had the same problem once. The in my case was that
the database engine was not running right… Once I fixed that I could
see the views.

Barney T. wrote:

Hi. I’ve installed ruby, gems, rails into a user directory according to
the
installation instructions (for linux). I haven’t setup any path
information
nor setup any symlinks or any compilation options. When I try rails, I
find
that the system accesses controllers but that the corresponding views
are
not displayed. I wonder if there is something that I forgot to
configure
that might be causing this. Sincerely, Barney T…


#6

Please note that the rails literature gets updated frequently.
The documentation and latest source versions often contain fixes to
recent issues.
The issue here was that the documentation suggested using an older
version of ruby.
And it just so happened that the newest stable version of ruby was the
version that was really needed.

Good luck!