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."

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to