[Locomotive-users] Re: January Bundle fails
Dennis Staiger
dnsstaiger at gmx.net
Tue Jan 23 05:04:58 GMT 2007
I do not have a log/mongrel.log file - probably because the server
never started up successfully.
rails -v gives me 1.2.1
and
RAILS_GEM_VERSION is set to '1.2.1' in environment.rb.
However, I do have success running mongrel manually in the Locomotive
environment terminal, but Mongrel listens on 0.0.0.0:3000 - is this
correct? Here is the output when I start Mongrel:
mongrel_rails start
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/
powerpc/bin/mongrel_rails:17:Warning: require_gem is obsolete. Use
gem instead.
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
/Volumes/hd_data/Sites/testapp4/config/boot.rb:29:Warning:
require_gem is obsolete. Use gem instead.
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
** Rails signals registered. HUP => reload (without restart). It
might not work well.
** Mongrel available at 0.0.0.0:3000
** Use CTRL-C to stop.
According to the web app, my applications environment is as follows:
Ruby version
1.8.5 (powerpc-darwin7.9.0)
RubyGems version
0.9.1
Rails version
1.2.1
Active Record version
1.15.1
Action Pack version
1.13.1
Action Web Service version
1.2.1
Action Mailer version
1.3.1
Active Support version
1.4.0
Application root
/Volumes/hd_data/Sites/testapp4
Environment
development
Database adapter
mysql
Thank you,
Dennis
On Jan 22, 2007, at 11:08 PM, Michael Potter wrote:
>
> Ryan Raaum <ryan.raaum at ...> writes:
>
>>
>> On 1/22/07, Dennis Staiger <dnsstaiger at ...> wrote:
>>> Yes, it is in the standard location /Applications. Version of
>>> Locomotive is 2.0.8.
>>
>> For now, what happens if you add
>>
>> server: lighttpd
>>
>> to config/locomotive.yml ?
>>
>> -r
>>
>
> Ryan,
>
> I am having the same problem on jan and sep bundles.
> I added server: lighttpd to the config/locomotive.yml and now I get
> a welcome
> aboard webpage rather than the can not connect to server error.
>
> I am using mac os x 10.4.6 and locomotive that I just downloaded
> this afternoon.
>
> I will monitor this post for the permanent solution; I presume
> there will be a
> more permanent solution because you wrote "For now, ...".
>
> I kept poking around and found this in the log/mongrel.log
> --------------------------
> Cannot find gem for Rails ~>1.2.1.0:
> Install the missing gem with 'gem install -v=1.2.1 rails', or
> change environment.rb to define RAILS_GEM_VERSION with your
> desired version.
> --------------------------
>
> lighttpd also had this in the log/lighttpd.error.log file:
> --------
> 2007-01-22 21:40:24: (log.c.75) server started
> 2007-01-22 21:47:48: (mod_fastcgi.c.1739) connect failed:
> Connection refused on
> unix:/tmp/ruby-fastcgi.25ABZ.socket-1
> 2007-01-22 21:47:48: (mod_fastcgi.c.2851) backend died, we disable
> it for a 5
> seconds and send the request to another backend instead:
> reconnects: 0 load: 1
> 2007-01-22 21:47:48: (mod_fastcgi.c.2430) unexpected end-of-file
> (perhaps the
> fastcgi process died): pid: 4824 socket: unix:/tmp/ruby-fastcgi.
> 25ABZ.socket-1
> 2007-01-22 21:47:48: (mod_fastcgi.c.3168) child exited, pid: 4824
> status: 1
> 2007-01-22 21:47:48: (mod_fastcgi.c.3215) response not received,
> request sent:
> 942 on socket: unix:/tmp/ruby-fastcgi.25ABZ.socket-1 for /
> dispatch.fcgi ,
> closing connection
> ---------
>
>
> Thanks for your help.
>
> --
> potter.
>
>
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
More information about the Locomotive-users
mailing list