RE: Re: [ANN] Instant Rails Screencast

Sure, I’ll take a stab at updating it, hopefully later tonight.


From: [email protected]

[mailto:[email protected]] On Behalf Of Curt H.
Sent: Monday, July 17, 2006 5:24 PM
To: [email protected]
Subject: Re: [Rails] Re: [ANN] Instant Rails Screencast

Bill, these are excellent suggestions. Would you be willing to

update the FAQ on the Instant Rails wiki with this to make it easy for
others to find? The URL is:

    We have plans to eventually support RadRails by detecting

when you install RadRails inside of the Instant Rails directory tree and
then automatically updating the RadRails configuration to work properly.
As always with an open source project, this will happen sooner if
someone volunteers to do it!

On 7/17/06, William (Bill) Froelich <[email protected]>


	> -----Original Message-----
	> Michael wrote:
	> > 1)  I prefer RadRails as an IDE.  It wasn't

intuitive to me
> at first
> > how to get RadRails to work with the InstantRails
> I have a screencast about running tests in RadRails
and I
> show how to set the Installed Interpreters to get that

	> working. But the Instant Rails case is a little unique

> if you are only using Instant Rails you have to run
> Instant Rails ‘use_ruby.cmd’ to set the path before
you run
> RadRails. Otherwise as far as I know none of the
> integrated Rake menus or the Generator panel will
work. This
> is another setup that I thought about covering in a
future screencast.

	I think the easiest solution to this is to just put ruby

in your path.
In my case I just add c:\InstantRails-1.3a\ruby\bin to
my path and
RadRails and the generators all work as expected. It
would be a quick
thing to do at the beginning of the screencast.

	> > 2)  How to get mysql to start as a service.
	> Yeah I'm not even sure how you'd do that. Like you, I

> run MySQL from Instant Rails. In fact that is the only
> feature of Instant Rails I use. I installed the
> Ruby installer and that is how I run Ruby & Rails. I
> installed the UnixUtils for Windows. This helps me
> plugins and Capistrano tasks naively shell out to ‘rm
> instead of using the Ruby equivalents from
fileutils.rb. It
> also helps to have them available so I don’t have to
> to use “dir” and friends when I’m on Windows.

	The easiest way is to execute the following:

	mysqld --install

	This will add mysql as a service in your Services

control panel
configured to start automatically by default.

	You may also need to add c:\InstantRails-1.3a\mysql\bin

to your path for
this to startup as expected. I have not rebooted yet to
test it but
this should get you going.

	Rails mailing list
	[email protected]