Give me Suggestion To run ruby file by sciTE in Ubuntu

I am a newcomer in Ruby. Recently, I am trying to run ruby at Ubuntu.
It works well, but the problem occurs when i try to run the program
through sciTE at ubuntu. it shows error for ‘gets’ as below:
gets’: Bad file descriptor (Errno::EBADF)
how can i solve it?

Paul OM wrote:

I am a newcomer in Ruby. Recently, I am trying to run ruby at Ubuntu.
It works well, but the problem occurs when i try to run the program
through sciTE at ubuntu. it shows error for ‘gets’ as below:
gets’: Bad file descriptor (Errno::EBADF)
how can i solve it?

Sounds like you’re using the C++ “gets” which is for a file. It’s odd.
Out of sheer curiosity, show us that bit of code?

Check out this page:
http://www.scintilla.org/SciTEDoc.html
“Language settings are determined from the file extension but this can
be changed by selecting another language from the Language menu. The
language menu can be changed with the menu.language property.”

try notepad++ or textmate

On Fri, Jan 29, 2010 at 2:45 PM, Paul OM
[email protected]wrote:

To unsubscribe from this group, send email to
[email protected][email protected]
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Regards:
Rajeev sharma
+919813270707

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs