From: RichardOnRails on
Great responses -- Thank you, all.

> Randem: cmd /c my-command -- that solved most of my problem

> Mike S (with eagle eyes) asked "What about RTS2 –d mysql => rails RTS2 ûd mysql"

My first thought was "That's a German character".
(I've got German keyboard translator on my system, but haven't used it
recently).
Then I realized the diacritical mark over the "u" was carat and not
two dots, so it's not German.

My second thought was "Enclose my command in quotes", to no avail.
Trying single quotes was even worse

> Pegasys: "start /b rails RTS2 –d mysql " ran the command as well as "cmd /c",
but it had the same deficiency, i.e. converting the "-d" switch into u-
hat followed by d.
That is the remaining outstanding issue for me

Again, thank you all.

Best wishes,
Richard
From: Pegasus [MVP] on


"RichardOnRails" <RichardDummyMailbox58407(a)USComputerGurus.com> wrote in
message
news:18a4d385-0a8e-448c-b1ce-1f7a36cb3c1f(a)k39g2000yqb.googlegroups.com...
> Great responses -- Thank you, all.
>
>> Randem: cmd /c my-command -- that solved most of my problem
>
>> Mike S (with eagle eyes) asked "What about RTS2 �d mysql => rails RTS2
>> �d mysql"
>
> My first thought was "That's a German character".
> (I've got German keyboard translator on my system, but haven't used it
> recently).
> Then I realized the diacritical mark over the "u" was carat and not
> two dots, so it's not German.
>
> My second thought was "Enclose my command in quotes", to no avail.
> Trying single quotes was even worse
>
>> Pegasys: "start /b rails RTS2 �d mysql " ran the command as well as "cmd
>> /c",
> but it had the same deficiency, i.e. converting the "-d" switch into u-
> hat followed by d.
> That is the remaining outstanding issue for me
>
> Again, thank you all.
>
> Best wishes,
> Richard

While I can see the caret symbol in your post, I have a very poor
understanding where it comes from, where it occurs and how it finds its way
into your batch file. Please elaborate.

From: RichardOnRails on
On Jul 9, 2:51 pm, "Pegasus [MVP]" <n...(a)microsoft.com> wrote:
> "RichardOnRails" <RichardDummyMailbox58...(a)USComputerGurus.com> wrote in
> messagenews:18a4d385-0a8e-448c-b1ce-1f7a36cb3c1f(a)k39g2000yqb.googlegroups..com...
>
>
>
> > Great responses -- Thank you, all.
>
> >> Randem: cmd /c my-command -- that solved most of my problem
>
> >> Mike S (with eagle eyes) asked "What about RTS2 –d mysql  => rails RTS2
> >> ûd mysql"
>
> > My first thought was "That's a German character".
> > (I've got German keyboard translator on my system, but haven't used it
> > recently).
> > Then I realized the diacritical mark over the "u" was carat and not
> > two dots, so it's not German.
>
> > My second thought was "Enclose my command in quotes", to no avail.
> > Trying single quotes was even worse
>
> >> Pegasys: "start /b rails RTS2 –d mysql " ran the command as well as "cmd
> >> /c",
> > but it had the same deficiency, i.e. converting the "-d" switch into u-
> > hat followed by d.
> > That is the remaining outstanding issue for me
>
> > Again,  thank you all.
>
> > Best wishes,
> > Richard
>
> While I can see the caret symbol in your post, I have a very poor
> understanding where it comes from, where it occurs and how it finds its way
> into your batch file. Please elaborate.

Thanks for taking an additional look at this anomaly. Here's a vastly
simplified version of the script and the result:

K:\_Projects\Ruby\_Rails_Apps\_EIMS\Tools\KeyTools>type
GenerateRailsAppX.bat
rails RTS2 ûd mysql

K:\_Projects\Ruby\_Rails_Apps\_EIMS\Tools
\KeyTools>GenerateRailsAppX.bat

K:\_Projects\Ruby\_Rails_Apps\_EIMS\Tools\KeyTools>rails RTS2 ûd mysql
exists
exists app/controllers
exists app/helpers
exists app/models
[snip]

Best wishes,
Richard
From: Pegasus [MVP] on


"RichardOnRails" <RichardDummyMailbox58407(a)USComputerGurus.com> wrote in
message
news:f5c29ea8-4d87-4459-ba29-85554f9cfebb(a)5g2000yqz.googlegroups.com...
> On Jul 9, 2:51 pm, "Pegasus [MVP]" <n...(a)microsoft.com> wrote:
>> "RichardOnRails" <RichardDummyMailbox58...(a)USComputerGurus.com> wrote in
>> messagenews:18a4d385-0a8e-448c-b1ce-1f7a36cb3c1f(a)k39g2000yqb.googlegroups.com...
>>
>>
>>
>> > Great responses -- Thank you, all.
>>
>> >> Randem: cmd /c my-command -- that solved most of my problem
>>
>> >> Mike S (with eagle eyes) asked "What about RTS2 �d mysql => rails
>> >> RTS2
>> >> �d mysql"
>>
>> > My first thought was "That's a German character".
>> > (I've got German keyboard translator on my system, but haven't used it
>> > recently).
>> > Then I realized the diacritical mark over the "u" was carat and not
>> > two dots, so it's not German.
>>
>> > My second thought was "Enclose my command in quotes", to no avail.
>> > Trying single quotes was even worse
>>
>> >> Pegasys: "start /b rails RTS2 �d mysql " ran the command as well as
>> >> "cmd
>> >> /c",
>> > but it had the same deficiency, i.e. converting the "-d" switch into u-
>> > hat followed by d.
>> > That is the remaining outstanding issue for me
>>
>> > Again, thank you all.
>>
>> > Best wishes,
>> > Richard
>>
>> While I can see the caret symbol in your post, I have a very poor
>> understanding where it comes from, where it occurs and how it finds its
>> way
>> into your batch file. Please elaborate.
>
> Thanks for taking an additional look at this anomaly. Here's a vastly
> simplified version of the script and the result:
>
> K:\_Projects\Ruby\_Rails_Apps\_EIMS\Tools\KeyTools>type
> GenerateRailsAppX.bat
> rails RTS2 �d mysql
>
> K:\_Projects\Ruby\_Rails_Apps\_EIMS\Tools
> \KeyTools>GenerateRailsAppX.bat
>
> K:\_Projects\Ruby\_Rails_Apps\_EIMS\Tools\KeyTools>rails RTS2 �d mysql
> exists
> exists app/controllers
> exists app/helpers
> exists app/models
> [snip]
>
> Best wishes,
> Richard

I don't know anything about rails.exe but my initial reaction would be:
1. Check the permissible command line switches for rails.exe
2. Modify the batch file accordingly. The problem line should probably read
rails RTS2 /d mysql

From: RichardOnRails on
On Jul 9, 5:37 pm, "Pegasus [MVP]" <n...(a)microsoft.com> wrote:
> "RichardOnRails" <RichardDummyMailbox58...(a)USComputerGurus.com> wrote in
> messagenews:f5c29ea8-4d87-4459-ba29-85554f9cfebb(a)5g2000yqz.googlegroups.com...
>
>
>
> > On Jul 9, 2:51 pm, "Pegasus [MVP]" <n...(a)microsoft.com> wrote:
> >> "RichardOnRails" <RichardDummyMailbox58...(a)USComputerGurus.com> wrote in
> >> messagenews:18a4d385-0a8e-448c-b1ce-1f7a36cb3c1f(a)k39g2000yqb.googlegroups.com...
>
> >> > Great responses -- Thank you, all.
>
> >> >> Randem: cmd /c my-command -- that solved most of my problem
>
> >> >> Mike S (with eagle eyes) asked "What about RTS2 –d mysql  => rails
> >> >> RTS2
> >> >> ûd mysql"
>
> >> > My first thought was "That's a German character".
> >> > (I've got German keyboard translator on my system, but haven't used it
> >> > recently).
> >> > Then I realized the diacritical mark over the "u" was carat and not
> >> > two dots, so it's not German.
>
> >> > My second thought was "Enclose my command in quotes", to no avail.
> >> > Trying single quotes was even worse
>
> >> >> Pegasys: "start /b rails RTS2 –d mysql " ran the command as well as
> >> >> "cmd
> >> >> /c",
> >> > but it had the same deficiency, i.e. converting the "-d" switch into u-
> >> > hat followed by d.
> >> > That is the remaining outstanding issue for me
>
> >> > Again,  thank you all.
>
> >> > Best wishes,
> >> > Richard
>
> >> While I can see the caret symbol in your post, I have a very poor
> >> understanding where it comes from, where it occurs and how it finds its
> >> way
> >> into your batch file. Please elaborate.
>
> > Thanks for taking an additional look at this anomaly.  Here's a vastly
> > simplified version of the script and the result:
>
> > K:\_Projects\Ruby\_Rails_Apps\_EIMS\Tools\KeyTools>type
> > GenerateRailsAppX.bat
> > rails RTS2 ûd mysql
>
> > K:\_Projects\Ruby\_Rails_Apps\_EIMS\Tools
> > \KeyTools>GenerateRailsAppX.bat
>
> > K:\_Projects\Ruby\_Rails_Apps\_EIMS\Tools\KeyTools>rails RTS2 ûd mysql
> >      exists
> >      exists  app/controllers
> >      exists  app/helpers
> >      exists  app/models
> > [snip]
>
> > Best wishes,
> > Richard
>
> I don't know anything about rails.exe but my initial reaction would be:
> 1. Check the permissible command line switches for rails.exe
> 2. Modify the batch file accordingly. The problem line should probably read
>    rails RTS2 /d mysql

Thanks for your suggestions. However, the command I'm trying to
invoke through the batch file is shown below entered manually in a
command window, just as I've done many times:

K:\_Projects\Ruby\_Rails_Apps\_EIMS>rails RTS2 -d mysql
create
create app/controllers
create app/helpers
create app/models
create app/views/layouts
create config/environments
create config/initializers
create config/locales
create db
create doc
create lib
[snip]

BTW, this command causes:
1. The creation of an EIMS sub-directory named RTS2.
2, Creation and population of a RTS2 subdirectories
3. This code can be passed to a web-server, thus creating a website
4. When a browser properly invokes this website, its various pages
will be presented, etc.
Finally, the -b switch tell the generated Rails app to use MySQL as
its database server, rather than the current default, SQLite3.

I'm pretty sure the problem is some flaky setting in my computer, but
I I have no idea how eliminate it short of wiping out WinXP and re-
installing it and its service packs. That's too gruesome a prospect
for me. So I'm going to try to get Rake (a Ruby/Rails "make" system)
which is more appropriate for what I'm doing anyway.

Best wishes,
Richard
First  |  Prev  |  Next  |  Last
Pages: 1 2 3
Prev: google chrome X win xp
Next: last test