[Locomotive-users] running scripts through TM

Ryan Raaum ryan.raaum at gmail.com
Fri Jan 12 03:23:06 GMT 2007


On 1/11/07, Steven Talcott Smith <steve at talcottsystems.com> wrote:
>
> Oh there was one extra step...  I had to put this at the top of a
> ruby file to run...
>
> require 'config/boot.rb'
> Rails::Initializer.run
>
> Any advice on a better way is welcome.


require 'rubygems'

maybe?

-r



Steven Talcott Smith
> President
> Talcott Systems, LLC
> steve at talcottsystems.com
>
>
> On Jan 11, 2007, at 2:46 PM, Ryan Raaum wrote:
>
> >
> >
> > On 1/11/07, Steven Talcott Smith <steve at talcottsystems.com> wrote:
> > I did get this working by setting up a .bash_profile in my home
> > directory with the contents of:
> >
> > /private/var/tmp/folders.501/TemporaryItems/*.bash
> >
> > Sneaky.  I like it.  This post gives an alternate idea that would
> > be TextMate specific.
> >
> > http://www.tug.org/pipermail/macostex-archives/2005-March/014519.html
> >
> > Best,
> >
> > -r
> >
> > Steven
> >
> >
> > On Jan 11, 2007, at 9:47 AM, Alain Ravet wrote:
> >
> > > Hi,
> > >
> > > Is there a way to run a script from TextMate, and have it use
> > > Locomotive's Rails Bundle?
> > >
> > > I'm trying to simplify my toolbox by launching shell commands from
> > > TextMate, but it doesn't work as TM uses the local version of Rails.
> > >
> > >
> > > Alain
> > > _______________________________________________
> > > 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
>
> _______________________________________________
> 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/20070112/47d19ecd/attachment.htm


More information about the Locomotive-users mailing list