[Locomotive-users] (persistent?) configuration problems

ray palermo signorray at sbcglobal.net
Mon Jan 29 19:09:24 GMT 2007


I am not a programmer (yet) but I had the same experience on my Mac.  
What I observed was that if you had old rails apps, Locomotive would  
remember a port setting for each app as it was opened in Locomotive.  
Another way of saying this is that if you opened app A in Locomotive,  
it might decide which port it uses (the Locomotive interface tells  
you that much). However, if you opened the same app in Terminal  
(without using Locomotive), Terminal will use port 3000 regardless of  
the what app used last in Locomotive.

I'm not sure why this port "stickyness" is a source of conflict  
between Terminal and Locomotive nor am I sure how you would force an  
app in Terminal to use a certain port (I'm sure there's a way to do  
that but like I said I am not a programmer). I would say to try doing  
your stuff in Terminal and then once you have the basics set up, open  
the app in Locomotive if you want to take advantage of whatever  
Locomotive is supposed to do. When you get the message in Locomotive  
about resetting the shebang ignore it. My experience was that if the  
app worked in Terminal why would you change it to something that  
"might" not work.

Hope this helps,
rp

On Jan 28, 2007, at 6:24 PM, Rich Morin wrote:

> I have a laptop (12" PB G4; OSX 10.4.8) that has had Locomotive
> installed in the past, but I wanted to upgrade to the latest
> and greatest, and now I find myself in a swamp.  Ignoring all
> of my earlier attempts, here's what I did most recently:
>
>   *  Removed the Locomotive2 app from /Applications.
>
>   *  Emptied the trash.
>
>   *  Downloaded Locomotive_2.0.8_Jan2007_1.dmg
>
>   *  Dragged the Locomotive2 folder to /Applications
>
>   *  Started up Locomotive.app
>
>      At this point, my existing Locomotive projects show up,
>      indicating that Locomotive "remembers" where they were.
>      This makes me wonder what other configuration is sticky.
>
>   *  Tell Locomotive to create a new app.
>
>      It does this, selecting a Port number of 3003.
>
>   *  Tell Locomotive to run the new app.
>
>   *  Attempt to open http://localhost:3003 in Safari.  This
>      fails with "Safari can't connect to the server.  Safari
>      can't open the page "http://localhost:3003" because it
>      could not connect to the server "localhost".
>
>   *  Attempt to telnet to the server (telnet localhost 3003).
>      This fails, as well:
>
>        % telnet localhost 3003
>        Trying ::1...
>        telnet: connect to address ::1: Connection refused
>        Trying 127.0.0.1...
>        telnet: connect to address 127.0.0.1: Connection refused
>        telnet: Unable to connect to remote host
>
> FWIW, MySQL is installed and the software firewall is off.  My
> browser CAN find "http://localhost".
>
> I'm not at all sure what to try next...
>
> -r
> -- 
> http://www.cfcl.com/rdm            Rich Morin
> http://www.cfcl.com/rdm/resume     rdm at cfcl.com
> http://www.cfcl.com/rdm/weblog     +1 650-873-7841
>
> Technical editing and writing, programming, and web development
> _______________________________________________
> 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



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


More information about the Locomotive-users mailing list