|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
On 01/05/2007, Harold Hausman <hhausman@gmail.com> wrote:
> On 5/1/07, Michal Suchanek <hramrach@centrum.cz> wrote: > > I use ruby on Windows and I never really needed to use the windows > > commandline in connection with ruby. The one click installer > > associates scripts with ruby so all I need is to write the script in > > an editor and doubleclick it. But a windows shell extension "irb here" > > similar to the MS "Command Prompt Here" could be useful. > > > > What a great idea! And so easily done. (: > > First grab this and put it in C:\ruby\: > http://www.danceliquid.com/irbhere/irbhere.bat > > Then grab this and double click it to import it into your registry: > http://www.danceliquid.com/irbhere/irbhere.reg > > Then right click a folder in Explorer (or even the little folder icon > in the top left of an open Explorer window) and choose "irb here!" > Nice hack It has the same flaw as the MS Command Prompt Here, though. You can only run the prompt in a folder that you see closed, not one that is already open. I guess it works well within limitations of the environment. Thanks Michal |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Interesting points here. I have to admit that a Ruby & Windows CMD
shell cheat sheet is probably less useful than a Ruby & Windows CMD shell *gotcha* list. Certainly the windows shell environments impose some nasty limitations on Unicode use (the platform encoding seems to dominate). There could be more traps too. BTW I know nothing about powershell, so my comments do not apply there. |
|
![]() |
| Outils de la discussion | |
|
|