[Locomotive-users] Shebang Warning
Ryan Raaum
ryan.raaum at gmail.com
Fri Jul 28 13:00:59 GMT 2006
Hi,
On 7/27/06, Aaron Hundley <aaron.hundley at extension.org> wrote:
>
> Hi,
>
> I am developing on a MacBookPro, and using Locomotive 2.0.7. When I go to
> click 'Run' for one of my applications, it gives me this warning:
>
> 'Warning! The Ruby interpreter referenced this Rails application's
> dispatch.fcgi file may not refer to the Ruby in Locomotive. If you choose
> to continue without changing this, your application may not function
> properly - or at all! Choosing 'Change It' will change the dispatch.fcgi
> shebang line to: '#!/usr/bin/env ruby''
>
> I have tried doing a 'Change It', and when I click 'Run' it just keeps
> giving me the same error again. Two of my other applications run fine with
> locomotive. I'm not sure why I'm getting this error on this particular
> app. I have also tried 'Continue Without Changing' as well and that did
> not work either. I have checked the dispatch.fcgi file in the public
> folder and it has the '#!/usr/bin/env ruby' line in it. Any ideas?
Some things to try:
1. Are there any hidden characters (tabs, different line endings, etc.) in
the shebang that might be throwing Locomotive off?
2. Can Locomotive actually modify the file? (has write access?)
3. Does cutting and pasting the shebang from a "proper" file solve the
problem?
-r
Thanks,
>
> Aaron
> _______________________________________________
> 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/20060728/c2bea3ff/attachment.htm
More information about the Locomotive-users
mailing list