Apache2 + mod_rails

I followed all instructions in a website for getting mod_rails
running. Everything seemed fine but when i try to access my rails app
keep getting this error message everytime:

We’re sorry, but something went wrong.

We’ve been notified about this issue and we’ll take a look at it

Log files doesn’t take me anywhere

Here is what i did to install mod_rails on a fresh debian 5 virtual

1.- Install Debian
2.- Install ssh
apt-get install ssh
3.- Install Ruby
apt-get install ruby ri rdoc irb ri1.8 ruby1.8-dev libzlib-ruby
4.- Install Gems
wget http://rubyforge.org/frs/download.php/55066/rubygems-1.3.2.tgz
tar zxvf rubygems-1.3.2.tgz
cd rubygems-1.3.2
ruby setup.rb
ln /usr/bin/gem1.8 /usr/bin/gem
gem update --system
apt-get install libopenssl-ruby
5.- Install Rails
gem install rails -y
6.- Install mod_rails prerequisites
apt-get install make
apt-get install gcc libc6-dev
apt-get install build-essential
apt-get install apache2-prefork-dev
apt-get install libapr1-dev
7.- Install Apache2, Php, MySQL, phpmyadmin
apt-get install apache2 php5 php5-mysql mysql-client mysql-server
8.- Install mod_rails
gem install passenger
9.- Configure apache2
#Add the following lines to apache2.conf
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1
PassengerRuby /usr/bin/ruby1.8

Can you be more forthcoming about the errors in the log. I use ubuntu
and I
had to change the owner and group access on a few files like
to get rails running on ubuntu. This has to do with who the owner is of
rails app as it runs. In my case both environmet.rb and
application_controller.rb has to have owner and group modified.


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