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 Toma. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
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 Toma 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 Toma.-- Mark Beattie Easy Schedule Management http://easy-online-schedule.com
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. -- John J. Macey <jjmacey-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Barney Toma 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 Toma.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-----
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 Toma 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 Toma.-- Posted via http://www.ruby-forum.com/.
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! On 12/25/05, Barney Toma <barney.toma@alumni.usc.edu> 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 Toma. > >