[Locomotive-users] Can't start application

Ryan Raaum ryan.raaum at gmail.com
Mon Aug 28 23:19:28 GMT 2006


What happens if you open a shell (normally, not from Locomotive), navigate
to the bundle bin directory, start irb, and do:

require 'open4'
pid, stdin, stdout, stderr = Open4.popen4("./environment --format ruby")
env_dict = eval(stdout.read)

On 8/28/06, Lori M Olson <loriolson at mac.com> wrote:
>
>
> On 12-Jul-06, at 9:52 PM, Stephen Waits wrote:
>
> >
> > On Jul 12, 2006, at 6:58 PM, Lori M Olson wrote:
> >
> >> Is there a log file somewhere I should be looking in?
> >
> > Run Console.app, and try again.  Let us know if anything's getting
> > logged when you try to start your app.
> >
> > --Steve
>
> I this this is a REALLY long time to wait to reply, but I was mostly
> just working around this issue.  Now I need to get a couple of other
> people using my customized bundle, and I am concerned this is a
> problem with my bundle or environment.
>
> To refresh, I can run my application using "script/server" from a
> Terminal opened by Locomotive, but I cannot run my application from
> the Locomotive GUI.
>
> Here is the console message when I try to run from the Locomotive GUI
>
> ===== Monday, August 28, 2006 1:41:01 PM Canada/Mountain =====
> /Users/lori/Applications/Locomotive2/Bundles/
> rails112rmagick_ppc.locobundle/bin/launch:139:in `set_environment':
> undefined method `keys' for nil:NilClass (NoMethodError)
>
> I futzed around a little and figured out how to run "launch" from the
> command-line, and get:
>
> ./launch:139:in `set_environment': undefined method `keys' for
> nil:NilClass (NoMethodError)
>          from ./launch:57:in `main'
>          from ./launch:215
>
> This happens when @environment is nil in the "launch" script.  But I
> can run the "environment" script from the command line (./environment
> --format ruby) and it returns stuff that looks good to me.
>
> I'm thinking it's a problem in the Open4 stuff, but I'm not really
> familiar enough with what it is doing.
>
> Help?
>
> Regards, Lori
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>



-- 
Ryan Raaum
http://www.anthro.ufl.edu - Molecular Anthropology, University of Florida
http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060828/8789b061/attachment.htm


More information about the Locomotive-users mailing list