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? -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
kannav rajeev
2010-Jan-29 09:51 UTC
Re: Give me Suggestion To run ruby file by sciTE in Ubuntu
try notepad++ or textmate On Fri, Jan 29, 2010 at 2:45 PM, Paul OM <paul.pronabananda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>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? > > -- > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Regards: Rajeev sharma +919813270707 -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Aldric Giacomoni
2010-Jan-29 13:47 UTC
Re: Give me Suggestion To run ruby file by sciTE in Ubuntu
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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.