# Give me Suggestion To run ruby file by sciTE in Ubuntu

**URL:** <https://www.ruby-forum.com/t/give-me-suggestion-to-run-ruby-file-by-scite-in-ubuntu/182524>\
**Category:** Rails\
**Created:** [January 29, 2010, 10:51am UTC](https://www.ruby-forum.com/t/give-me-suggestion-to-run-ruby-file-by-scite-in-ubuntu/182524 "2010-01-29T10:51:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_OM](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e56c9b/32.png) [@Paul\_OM](https://www.ruby-forum.com/u/Paul_OM)\
**Post date:** [January 29, 2010, 10:51am UTC](https://www.ruby-forum.com/t/give-me-suggestion-to-run-ruby-file-by-scite-in-ubuntu/182524/1 "2010-01-29T10:51:36Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Paul\_OM](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e56c9b/32.png) [@Paul\_OM](https://www.ruby-forum.com/u/Paul_OM)\
**Post date:** [January 29, 2010, 2:47pm UTC](https://www.ruby-forum.com/t/give-me-suggestion-to-run-ruby-file-by-scite-in-ubuntu/182524/2 "2010-01-29T14:47:11Z")

</div>

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](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.”

---

<div class="post-metadata">

**Author:** ![Paul\_OM](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e56c9b/32.png) [@Paul\_OM](https://www.ruby-forum.com/u/Paul_OM)\
**Post date:** [January 29, 2010, 10:53am UTC](https://www.ruby-forum.com/t/give-me-suggestion-to-run-ruby-file-by-scite-in-ubuntu/182524/3 "2010-01-29T10:53:21Z")

</div>

try notepad++ or textmate

On Fri, Jan 29, 2010 at 2:45 PM, Paul OM  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> To unsubscribe from this group, send email to  
> removed\_email\_address@domain.invalid[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> .  
> For more options, visit this group at  
> [http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).

–  
Regards:  
Rajeev sharma  
+919813270707
