[Locomotive-users] App won't start using mongrel

Paul Welty ponch at paulwelty.com
Wed Sep 20 20:32:44 GMT 2006


Some more info. I uninstalled all mongrels and tried reinstalling the newest
again. I got this:

Building native extensions.  This could take a while...
/Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/l
ib/ruby/1.8/fileutils.rb:243: command not found: make
/Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/l
ib/ruby/1.8/fileutils.rb:243: command not found: make install
ruby extconf.rb install mongrel
checking for main() in -lc... no
creating Makefile

make

make install
Successfully installed mongrel-0.3.13.4
Installing RDoc documentation for mongrel-0.3.13.4...

Apparently, there is some issue with ³make²? I don¹t know enough to know if
this is really a Locomotive issue or not.




On 9/20/06 4:09 PM, "Paul Welty" <ponch at paulwelty.com> wrote:

> So, I uninstalled the two older versions, and now I get...
> 
> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/lib
> /ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:38: uninitialized
> constant Mongrel::HttpHandler (NameError)
>         from 
> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/lib
> /ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
>         from 
> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/lib
> /ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:10
>         from 
> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/bin
> /mongrel_rails:18
> 
> 
> 
> 
> On 9/20/06 4:01 PM, "Paul Welty" <ponch at paulwelty.com> wrote:
> 
>> Using ³mongrel_rails start ³ I get this:
>> 
>> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/li
>> b/ruby/site_ruby/1.8/rubygems.rb:149:in `activate': can't activate mongrel (=
>> 0.3.13.3), already activated mongrel-0.3.13.4] (Gem::Exception)
>>         from 
>> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/li
>> b/ruby/site_ruby/1.8/rubygems/custom_require.rb:26:in `require'
>>         from 
>> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/li
>> b/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:10
>>         from 
>> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/li
>> b/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
>>         from 
>> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/li
>> b/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:9
>>         from 
>> /Applications/Locomotive2/Bundles/rails112rmagick_ppc.locobundle/framework/bi
>> n/mongrel_rails:18
>> 
>> I tried restarting Loco and pushing/not pushing the run button. I always get
>> the same error.
>> 
>> 
>> 
>> 
>> On 9/20/06 3:15 PM, "Ryan Raaum" <ryan.raaum at gmail.com> wrote:
>> 
>>> 
>>> 
>>> On 9/20/06, Paul Welty <ponch at paulwelty.com> wrote:
>>>> I was able to successfully run my loco app with mongrel with the "server:
>>>> mongrel" addition to locomotive.yml.
>>>> 
>>>> Then I updated the mongrel gem with "sudo gem update mongrel" to 0.3.13.3
>>>> <http://0.3.13.3> . Then the app wouldn't start. Clicking "run" results in
>>>> no changes to the window, no app, no logs, no nuttin'.
>>>> 
>>>> I updated the gem again to 0.3.13.4 <http://0.3.13.4> . Same problem. The
>>>> previous gem, the one in Locomotive to start with, is 0.3.12.4
>>>> <http://0.3.12.4> .
>>>> 
>>>> When I look at "gem list ‹local", I see version numbers for all three
>>>> mongrel gems, viz. "mongrel (0.3.13.4 <http://0.3.13.4> , 0.3.13.3
>>>> <http://0.3.13.3> , 0.3.12.4 <http://0.3.12.4> )".
>>>> 
>>>> This is similar to how rails appears since I updated to 1.1.6. Soooo....I'm
>>>> wondering if I need to specify the gem version to use in locomotive.yml to
>>>> get the server to start.
>>>> 
>>>> Or, maybe there is something else I'm missing (a likely possibility!).
>>>> 
>>>> I'd be grateful for any help.
>>> 
>>> Hi,
>>> 
>>> I suspect that something has changed in the way mongrel is started between
>>> 0.3.12 and the current versions - but I haven't looked at it in detail.
>>> Can you start mongrel ok from the command line?
>>> 
>>> -r
>>> 
>>>> -Paul
>>>> 
>>>> _______________________________________________
>>>> Locomotive-users mailing list
>>>> Locomotive-users at lists.raaum.org  <mailto:Locomotive-users at lists.raaum.org>
>>>> http://lists.raaum.org/mailman/listinfo/locomotive-users
>>>> 
>>>> 
>>> 
>>> 
>> 
>> 
>> 
>> _______________________________________________
>> Locomotive-users mailing list
>> Locomotive-users at lists.raaum.org
>> http://lists.raaum.org/mailman/listinfo/locomotive-users
> 
> 
> 
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060920/c665afc4/attachment.htm


More information about the Locomotive-users mailing list