[Locomotive-users] New Bundles

Adam Salter adam at rokslide.com
Sun Mar 25 03:15:06 GMT 2007


Ryan,
I've just been having another look at this:
My path is normally:
PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/ 
bin:/sbin:/usr/bin:/usr/sbin:/Users/adam/bin

which is set in .profile:
export PATH=/usr/local/bin:/usr/local/sbin:$PATH:~/bin
#macports
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export DISPLAY=:0.0
#svn
export SVN_EDITOR="pico +1 --tempfile"
alias e=mate

but after using the terminal command in locomotive I get:
PATH=/Users/adam/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/ 
sbin:/sbin:


Don't know if that helps,
-Adam

On 25/03/2007, at 12:18 PM, Adam Salter wrote:

> Sorry been busy.
>
> It's a standard MacPorts install as far as I know.
>
> Both those commands work from the Terminal as described.
> Although when I do "mongrel_rails start" I get a small error msg:
> /opt/local/bin/mongrel_rails:17:Warning: require_gem is obsolete.   
> Use gem instead.
> But then it starts ok...
>
> In the console.log I get this from Locomotive:
> Starting mongrel on http://localhost:3000 in development mode
> pid:
>
> on startup and:
> /Developer/Applications/Locomotive2/Bundles/macports.locobundle/bin/ 
> terminate:168:in `get_pid': Could not find pid file: /Users/adam/ 
> Sites/rails/cybertrib.es/log/locomotive.pid  
> (TerminateApp::PidFileMissingError)
> 	from /Developer/Applications/Locomotive2/Bundles/ 
> macports.locobundle/bin/terminate:117:in `initialize'
> 	from /Developer/Applications/Locomotive2/Bundles/ 
> macports.locobundle/bin/terminate:188:in `new'
> 	from /Developer/Applications/Locomotive2/Bundles/ 
> macports.locobundle/bin/terminate:188
>
> on shutdown??
>
> As I said I can use the full bundles ok, but would prefer this if I  
> could get it working...
>
> On 19/03/2007, at 9:53 PM, Ryan Raaum wrote:
>
>> On 3/19/07, Adam Salter <adam at rokslide.com> wrote:
>>> Ryan,
>>> The MacPorts bundle doesn't seem to be working for me...
>>> I could be doing something wrong... I'm just doing a full MacPorts
>>> update now. But I can't even see the process starting in Activity
>>> Monitor.
>>> The server definitely starts from the ./script/server though.
>>> It's starting Mongrel from the command line by default.
>>> (Could we actually have this as an option in the info panel?)
>>
>> Hi Adam,
>>
>> Can you give me some more details?
>>
>> - Macports is installed in the default location?
>>
>> - What happens when you open a terminal from Locomotive for your app
>> and run "ruby script/server" from that console?  When you run
>> "mongrel_rails start" from that console?
>>
>> - Are there any relevant error messages on the system stdout/stderr
>> (view with /Applications/Utilities/Console.app)?
>>
>> - Anything else?
>>
>> Best,
>>
>> -r
>>
>>>
>>> On 18/03/2007, at 3:13 AM, Ryan Raaum wrote:
>>>
>>> > Hi All,
>>> >
>>> > There are new bundles on the sourceforge site (I've not yet  
>>> updated
>>> > the Locomotive bundles page).
>>> >
>>> > See here:
>>> > http://sourceforge.net/project/showfiles.php?
>>> > group_id=146941&package_id=165720&release_id=414102
>>> >
>>> > The new bundles are:
>>> >
>>> > 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6
>>> >
>>> > 2. usr_local.locobundle - runs _your_ local ruby install.  The  
>>> bundle
>>> > itself provides nothing beyond what is required for Locomotive  
>>> to find
>>> > your /usr/local ruby and rails.
>>> >
>>> > 3. macports.locobundle - runs _your_ macports ruby install (and
>>> > assumes you are using the default /opt/local location for  
>>> macports).
>>> > The bundle itself provides nothing beyond what is required for
>>> > Locomotive to find your macports ruby and rails.
>>> >
>>> > Happy Coding!
>>> >
>>> > -r
>>> >
>>> > --
>>> > Ryan Raaum
>>> > http://raaum.org
>>> > http://rails.raaum.org -- Rails docs
>>> > http://locomotive.raaum.org -- Self contained Rails for Mac OS X
>>> > _______________________________________________
>>> > 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
>>>
>>
>>
>> -- 
>> Ryan Raaum
>> http://raaum.org
>> http://rails.raaum.org -- Rails docs
>> http://locomotive.raaum.org -- Self contained Rails for Mac OS X
>> _______________________________________________
>> Locomotive-users mailing list
>> Locomotive-users at lists.raaum.org
>> http://lists.raaum.org/mailman/listinfo/locomotive-users
>


More information about the Locomotive-users mailing list