Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6188983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:19:49+00:00 2026-05-24T02:19:49+00:00

The SciTE editor will run Ruby programs for me if I press F5. But

  • 0

The SciTE editor will run Ruby programs for me if I press F5. But when I try to run a program that requires user input (using “gets”), it doesn’t work. A black window with a blinking cursor pops up, but when I try to type in it, nothing happens. Running the same programs from the windows command line works fine.

I use the Scite editor version 2.27 and Ruby 1.9.2-p290.

Am I doing something wrong? What can I do to fix this?

ETA: Turns out the DOS window does nothing, and if I minimize it, I can type right into the output window. Modified question: How do I make the DOS window stop popping up?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:19:50+00:00Added an answer on May 24, 2026 at 2:19 am

    It’s ‘normal‘

    Some problems you have (I think) and the solutions:

    1. Your output is not displayd before the script ends. So you don’t know what happens. Solution: STDOUT.flush
    2. Your input is not expected in the DOS-windows, but in the output pane. Solution:Enter your answer in the output pane.
    3. You get a DOS windows. Solution: Rename your script from ‘XYZ.rb’ to ‘XYZ.rbw’ (see the ‘w’).

    My test script:

    puts "In scite: Please answer in Output pane"
    puts "User input:"
    STDOUT.flush
    input = STDIN.gets 
    puts "You entered #{input.inspect}"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using SciTE as text editor. It is possible to run script and
My drupal site (internal) will not display the TinyMCE editor when using Google Chrome
The SciTE editor comes with the Ruby installer, and it's just a generic code
I am looking for a text editor that will be able to load a
I am looking for an simple online text editor that will load an online
I realize that if you are having a same selection in JComboBox, using up/down
I have a sharepoint webpart that will exist on many pages. The webpart has
If you use the in-browser HTML editor that comes with SharePoint 2010, when you
I've got a stylesheet that will not, for whatever reason, apply list-style-type to a
When using a WYSIWYG editor in Joomla 1.5 to create website content I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.