[Locomotive-users] general frustration

Ryan Raaum ryan.raaum at gmail.com
Mon Jan 29 19:07:51 GMT 2007


On 1/26/07, ray palermo <signorray at sbcglobal.net> wrote:
>
> Hello,
> Many thanks for answering my questions. I got the Monkeys app to run as
> described in the Locomotive help file, BUT I got it working by doing
> everything without using Locomotive(!). I then opened Locomotive and added
> the application, let it make the change to the shebang and - voila - my
> application stopped working! What went wrong?
>
> Okay, so more dumb questions:
> 1) I went reverted the dispatch.fcgi back to its original setting and
> launched it in Terminal (i.e., without Locomotive) and it launched with
> Mongrel. I was expecting it to launch with WEBrick - am I confused?
>

1) Neither Mongrel nor Webrick use dispatch.fcgi
2) The current script/server behavior is to use mongrel if present,
otherwise fall back to webrick.

2) I made the same change to another test app and launched it the same way
> as above and it try to launch with lighttpd (unsuccessfully).
>

Not sure here - but lighttpd and mongrel/webrick have different loading
methods...

Best,

-r

Well, anyway thanks for your help so far.
> Ray
>
> On Jan 25, 2007, at 5:24 PM, Jay Craig wrote:
>
> Ray,
> To get you started, create your database in MySql with something like
>
> mysqladmin -u root create *mydatabase*_development
>
> where *mydatabase* is whatever you will call your database. Then
> edit config/database.yml accordingly.
>
> --Jay
>
> On Jan 25, 2007, at 4:05 PM, ray palermo wrote:
>
> I have that book and it was frustrating because of the errata and that I
> was confused by what Locomotive was supposed to be doing as opposed to the
> instructions in the book which caused other errors (like something about
> updating the DB schema). Additionally, I tried using the tutuorial on the
> Apple site and that was a whole different failure.I really appreciate the
> help I am getting and apologize for asking such basic questions.
> I am trying to use MySQL for the database (if I ever get to that point). I
> have it set up through Locomotive so that I can call it from the command
> line.
>
>
> On Jan 25, 2007, at 4:54 PM, Lori M Olson wrote:
>
> On 25-Jan-07, at 3:29 PM, ray palermo wrote:
>
> Hello,
>
> How do I set that database up? I thought that was the purpose of the
> migrate step? I revised line 29. That seemed to help. Is it necessary to
> restart the application (using Mongrel) every time you revise something? I
> made a whole new application and I am still having the same problems (except
> for "line 29" - I also changed "line 39" to be consistent or it that the
> wrong thing to do?).
>
> Ray
>
>
>
> Migrate will "populate" your database with tables.  It will not create the
> database in which the tables are to be stored.  As for how you set it
> up... what database were you planning on using?
>
> I really have to recommend that you look into buying a book, like "Agile
> Web Development with Rails" or something like it.  All this kind of stuff
> is detailed for you, step by step, in books.
>
> http://pragprog.com
>
> Regards, Lori
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
>
> Ray Palermo
> 812.423.5680
> signorray at sbcglobal.net
>
>
>
> _______________________________________________
> 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
>
>
> Ray Palermo
> 812.423.5680
> signorray at sbcglobal.net
>
>
>
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
>
>


-- 
Ryan Raaum
http://raaum.org
http://rails.raaum.org -- Rails docs
http://locomotive.raaum.org -- Self contained Rails for Mac OS X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070129/e5dc3207/attachment.htm


More information about the Locomotive-users mailing list