On Fri, Oct 2, 2009 at 6:55 PM, John <[email protected]> wrote:
>
> Thanks everybody!
>  Redmine is working correctly now. I am not certain what changed,
I am. You only used package management for rubygems :)

> as
> my settings look like they did before,  so I must have the magic
> combination. Passenger is nowloaded via the gem instead of manually
> before. For the sake of the next newbie, here's what I did:
>
> starting with a 9.04 Ubuntu server, running Apache2.2 and Mysql and
> Ruby in the usual way, with build tools installed, and root access:
>
> install the Redmine app following their directions
>
> apt-get install rubygems1.8
>  run "gem install rubygems-update"
> run "update_rubygems"   note:  this will clean out your gems
>  run "gem install rails --VERSION=2.1.2"    required by Redmine app
>  run "gem install mysql"
> run  "gem install passenger"
> run  "passenger-install-apache2-module"  follow instructions
>
> restart Apache
>
> ####################
>
> heres the relevant part of my default configuration file from apache2/
> sites-available:
>
>
>  LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/
> passenger-2.2.5/ext/apache2/mod_passenger.so
>
> <VirtualHost *:80>
>        ServerAdmin [email protected]
>        ServerName redmine.example.com
>        DocumentRoot /var/www/redmine/public/
>        PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5
>        PassengerRuby /usr/bin/ruby1.8
>
>        <Directory "/var/www/redmine/public/">
>                Options Indexes +ExecCGI FollowSymLinks
>                Order allow,deny
>                Allow from all
>        </Directory>
>
>        ErrorLog /var/log/apache2/error.log
>        LogLevel debug
>
> </VirtualHost>
>
> #############
>
> and heres the .htaccess file........
>
> Options +FollowSymLinks +ExecCGI
> RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
> RewriteEngine On
>
> RewriteRule ^$ index.html [QSA]
> RewriteRule ^([^.]+)$ $1.html [QSA]
> RewriteCond %{REQUEST_FILENAME} !-f
>
> ErrorDocument 500 "<h2>Application error</h2>Rails application
> REDMINE  failed to start properly"
>
> ##############
>
> and here's what gem says I have:
>
> *** LOCAL GEMS ***
>
> actionmailer (2.3.4, 2.1.2)
> actionpack (2.3.4, 2.1.2)
> activerecord (2.3.4, 2.1.2)
> activeresource (2.3.4, 2.1.2)
> activesupport (2.3.4, 2.1.2)
> fastthread (1.0.7)
> mysql (2.8.1)
> passenger (2.2.5)
> rack (1.0.0)
> rails (2.1.2)
> rake (0.8.7)
> rubygems-update (1.3.5)
>
> ########################
>
> and heres what dpkg says I have for ruby:
>
> r...@dizzy:/var/www/redmine/public# dpkg -l |grep ruby
>  libapache-ruby1.8
> 1.2.6-2
>  libapache2-mod-ruby
> 1.2.6-2
>  libbreakpoint-ruby1.8
> 0.5.1-2
>  libbuilder-ruby1.8
> 2.1.2-1
>  libcmdparse2-ruby1.8
> 2.0.2-2
>  libdaemons-ruby1.8
> 1.0.10-2
>  liberb-ruby
> 4.2
>  libfcgi-ruby1.8
> 0.8.7-4.1
>  liblog4r-ruby1.8
> 1.0.5-7
>  libmmap-ruby1.8
> 0.2.6-3
>  libmocha-ruby1.8
> 0.9.0-1
>  libncurses-ruby1.8
> 1.1-3
>  libopenssl-ruby1.8
> 1.8.7.72-3ubuntu0.1
>  libreadline-ruby1.8
> 1.8.7.72-3ubuntu0.1
>  libredcloth-ruby1.8                       3.0.99.0.svn.
> 20060519-1
>  libruby
> 4.2
>  libruby1.8
> 1.8.7.72-3ubuntu0.1
>  libsqlite3-ruby1.8
> 1.2.4-2
>  libxml-simple-ruby
> 1.0.11-2
>  rake
> 0.8.1-3
>  rdoc
> 4.2
>  ruby
> 4.2
>  ruby1.8
> 1.8.7.72-3ubuntu0.1
>  ruby1.8-dev
> 1.8.7.72-3ubuntu0.1
>  ruby1.8-examples
> 1.8.7.72-3ubuntu0.1
>  rubygems-doc
> 1.3.1-1
>  rubygems1.8
> 1.3.1-1
>
> ####################
>
> thanks again.
>
>
>
>
>
> >
>



-- 
Leonardo Mateo.
There's no place like ~

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to