How to use "tail"? .. no, the other kind!

5 views
Skip to first unread message

Ruby Freak

unread,
May 21, 2008, 11:14:45 PM5/21/08
to Ruby on Rails: Talk
I am reading "The Rails Way". On page 20, Obie says use
$ tail -f log/development_log

OK, I am a windows VB guy. I don't know what that means. I assume it
is a command? does it work in windows
do I have to be in IRB. I just get errors.

Thanks in advance.

Phlip

unread,
May 21, 2008, 11:33:32 PM5/21/08
to rubyonra...@googlegroups.com
Ruby Freak wrote:

> I am reading "The Rails Way". On page 20, Obie says use
> $ tail -f log/development_log

Get...

- http://www.cygwin.com/setup.exe
- a tutorial on either Linux or BASH

The Linux tutorial will cover BASH.

Tip: After you learn a little BASH, you will not go back to CMD.EXE. Most of the
keystrokes and commands are much easier to use, and more flexible.

Also, _don't_ install CygWin's version of Ruby, because if you current Ruby is
configured well enough to run Rails, you don't need to ... derail that. But you
might find yourself running cmd /c rake instead of just rake, for example.

And major props, honestly, to any book author who sincerely forgets there are
Windows users out there...

Ruby Freak

unread,
May 22, 2008, 12:00:35 AM5/22/08
to Ruby on Rails: Talk
Thanks Philp,
I do have a Ubuntu box and I can do some rudimentary chugging about,
but I bought a new lenovo and feel compelled to use it after dropping
that much coin. I tried to install Ubuntu on the Lenovo and it died.
Fiesty fawn I believe. Any thoughts on what might run?
I have a new harddrive that is circling around town in a UPS truck as
we speak, so that I can play around and get some form of linux going
as Billy Gates is not on my Christmas card list.

Oh the joy of setting up a new system. ought to be fun. I will prolly
wait for that rather than cygwin.

Thanks again.


On May 21, 8:33 pm, Phlip <phlip2...@gmail.com> wrote:
> Ruby Freak wrote:
> > I am reading "The Rails Way". On page 20, Obie says use
> > $ tail -f log/development_log
>
> Get...
>
> -http://www.cygwin.com/setup.exe

Gregg Kang

unread,
May 22, 2008, 2:18:37 AM5/22/08
to Ruby on Rails: Talk
Hi Ruby Freak - If you do end up having any type of window
installation I do recommend installing cygwin on it. It goes beyond
just tail and bash, you get MANY of the unix based tools (which are
essential IMHO) available to you! It's stable too, I have used it in a
production environment.

Phlip

unread,
May 22, 2008, 8:17:48 AM5/22/08
to rubyonra...@googlegroups.com
Ruby Freak wrote:

> I do have a Ubuntu box and I can do some rudimentary chugging about,
> but I bought a new lenovo and feel compelled to use it after dropping
> that much coin. I tried to install Ubuntu on the Lenovo and it died.
> Fiesty fawn I believe. Any thoughts on what might run?

>> -http://www.cygwin.com/setup.exe

cygwin is the core set of Linux toys, using Windows as its Hardware Abstraction
Layer.


Abigail Headroom

unread,
May 22, 2008, 8:37:37 AM5/22/08
to rubyonra...@googlegroups.com
Do a google search on "windows tail", you'll get a couple of options
there.
--
Posted via http://www.ruby-forum.com/.

Obie Fernandez

unread,
May 22, 2008, 11:08:08 AM5/22/08
to rubyonra...@googlegroups.com
> And major props, honestly, to any book author who sincerely forgets there are
> Windows users out there...

Phlip,

Thanks for the props. I thought you might like this snippet from the
introduction to the book:

Required Technology

A late-model Apple MacBookPro with 4GB RAM, running OSX 10.4. Just kidding, of
course. Linux is pretty good for Rails development also. Microsoft
Windows — well, let me
just put it this way — your mileage may vary. I'm being nice and
diplomatic in saying that. We
specifically do not discuss Rails development on Microsoft platforms
in this book. To my
knowledge, most working Rails professionals develop and deploy on
non-Microsoft platforms.

Cheers,
Obie

Pardee, Roy

unread,
May 22, 2008, 10:10:15 PM5/22/08
to rubyonra...@googlegroups.com
Sigh. Come see the repression inherent in the system...

-----Original Message-----
From: rubyonra...@googlegroups.com
[mailto:rubyonra...@googlegroups.com] On Behalf Of Obie Fernandez
Sent: Thursday, May 22, 2008 8:08 AM
To: rubyonra...@googlegroups.com
Subject: [Rails] Re: How to use "tail"? .. no, the other kind!


> And major props, honestly, to any book author who sincerely forgets
> there are Windows users out there...

Phlip,

Thanks for the props. I thought you might like this snippet from the
introduction to the book:

Required Technology

A late-model Apple MacBookPro with 4GB RAM, running OSX 10.4. Just
kidding, of course. Linux is pretty good for Rails development also.

Microsoft Windows - well, let me just put it this way - your mileage may

Reply all
Reply to author
Forward
0 new messages