Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Running Ruby under SciTE in Windows 7 Home Premium 64-bit
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
RichardOnRails  
View profile  
 More options Jul 31 2010, 10:28 am
From: RichardOnRails <RichardDummyMailbox58...@USComputerGurus.com>
Date: Sat, 31 Jul 2010 07:28:33 -0700 (PDT)
Local: Sat, Jul 31 2010 10:28 am
Subject: Running Ruby under SciTE in Windows 7 Home Premium 64-bit
Hi,

I've been running SciTE 1.74 over WinXP-Pr0/SP3 for some time and its
worked well for me as an
IDE for Ruby.  I just installed SciTE 2.12 over Windows 7 Home Premium
64-bit.  I noted in the
SciTE newsgroup that 2.12 may not run under the latest versions of
Windows,  so I tested the
creation, saving and re-opening of files, which worked fine.

I then wrote a small Ruby script to test execution of Ruby programs
under SciTE.  That effort
failed. I solved the following potential causes of that failure:

1. I created the Ruby pgm with Notepad, which added an invisible .txt
extension. I made
extensions visible and deleted the .txt extension on my  Ruby script.

2. I tried to run the script from within a Command window using "ruby -
e ... That failed because
Ruby's bin directory wasn't on the PATH.  That's fixed now.

3. I dragged ny script's name to an SciTE instance and pressed F5 but
got nothing in the
right-hand pane of the SciTE window.  I checked SciTE's Ruby
properties and saw that the
Go command depended on PLAT_WIN, so I created it as a new System
variable = 1.

4. I opened a new command window, entered "echo %PLAT_WIN%" and got
"1".

5. I opened a new SciTE window and dragged my test program's name to
it,  whence its content was
displayed.  I pressed the F5 key and:
        a. Saw some icon flashed for a second or two, which I interpreted as
an indication
           that SciTE was running something.
        b. I dragged the vertical divider to expose SciTE's output but saw
nothing: not even
           that SciTE had initiated execution of my Ruby script.

I've run out of ideas.  Any suggestions would be most welcome.

Thanks in Advance,
Richard


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neil Hodgson  
View profile  
 More options Jul 31 2010, 9:04 pm
From: Neil Hodgson <nyamaton...@gmail.com>
Date: Sun, 1 Aug 2010 11:04:21 +1000
Local: Sat, Jul 31 2010 9:04 pm
Subject: Re: [scite] Running Ruby under SciTE in Windows 7 Home Premium 64-bit
RichardOnRails:

> 3. I dragged ny script's name to an SciTE instance and pressed F5

   At this point SciTE does not have your changed PATH. Restart SciTE
and it will see the new PATH.

> but
> got nothing in the
> right-hand pane of the SciTE window.  I checked SciTE's Ruby
> properties and saw that the
> Go command depended on PLAT_WIN, so I created it as a new System
> variable = 1.

   PLAT_WIN is automatically defined by SciTE when running on Windows.

> 5. I opened a new SciTE window and dragged my test program's name to
> it,  whence its content was
> displayed.  I pressed the F5 key and:
>        a. Saw some icon flashed for a second or two, which I interpreted as
> an indication
>           that SciTE was running something.
>        b. I dragged the vertical divider to expose SciTE's output but saw
> nothing: not even
>           that SciTE had initiated execution of my Ruby script.

http://beans.seartipy.com/2007/10/14/programming-in-ruby-using-scite-...

   Neil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »