Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Linux  >  Thread
   
 
mongrel_cluster?  Trunk
 
Jestre
Posted: 30 April 2008 01:33 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  1
Joined  2006-12-26

I am trying to install Tracks (Trunk) on an Ubuntu (Gutsy) server.  It works, but now I am trying to get it running via mongrel_cluster and running into an error which I can’t find much about on Google.

The steps thus far:

Install ruby (from source)
Install rubygems (from source)
Install mongrel, mongrel_cluster, rails, etc (gem install)

Configure database.yml, environment.rb (salt)

script/server -e production fires it up and that seem to work.

adduser mongrel
change perms on log/, db/tracks.db, tmp to mongrel

I then create a mongrel_cluster.yml file:
mongrel_rails cluster::configure -e production -p 8000 -N 2 -c /home/jestre/tracks -a 127.0.0.1—user mongrel—group mongrel

Try to start it up to test:
sudo mongrel_rails cluster::start

I then get the following (snipped) error in mongrel_8000.log

** Starting Rails with production environment…
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require’: no such file to load—/home/jestre/tracks/config/environment (LoadError)
      from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’
      from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:147:in `rails’
      from /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:113:in `cloaker_’
... snipped ...

I have a config/environment.rb, and config/environments/ but no environment.  Does anyone have any idea what I might be doing wrong?  Is there some incompatibility between the ruby/rails/etc I have installed and the ones Trakcs requires?

Any pointers gladly appreciated.

J

Profile
 
   
 
 
‹‹ Migrate DB using YAML      Plugin / Addon for File Attachments? ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.1 (20081028)
Script Executed in 0.1086 seconds

Atom Feed
RSS 2.0