It is require 'open4' not open3. You are requiring the wrong gem On Tue, May 10, 2011 at 5:33 AM, News Aanad <[email protected]> wrote:
> hi, i want to make application that run a process automatically after > server starts completely. > I have explore and find popen4 gem which provides this facility. > I have installed a gem but there is some problem while executing the ruby > program. > The error is like > > * <internal:lib/rubygems/custom_require>:29:in `require': no such file to > load -- > win32/open3 (LoadError)* > * from <internal:lib/rubygems/custom_require>:29:in `require' > from > C:/Ruby192/lib/ruby/gems/1.9.1/gems/POpen4-0.1.4/lib/popen4.rb:9:in > `<top (required)>' > from <internal:lib/rubygems/custom_require>:33:in `require' > from <internal:lib/rubygems/custom_require>:33:in `rescue in > require' > from <internal:lib/rubygems/custom_require>:29:in `require' > from sample2.rb:2:in `<main>'* > > can anybody suggest me how to install this gem? my platform is windows 7 > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

