cool, I'll give that a try in short thanks joaquin
2009/2/22, aslak hellesoy <aslak.helle...@gmail.com>: > On Sun, Feb 22, 2009 at 1:42 PM, Joaquin Rivera Padron > <joahk...@gmail.com> wrote: >> hey Kaleem, >> I am myself no expert on w$ but the line throwing the error is >> def self.run_server >> IO.popen("jruby #{__FILE__}", 'r+') > > When forking a new ruby interpreter, always use rbconfig: > > require 'rbconfig' > ruby = File.join(Config::CONFIG['bindir'], > Config::CONFIG['ruby_install_name']) > IO.popen("#{ruby} #{__FILE__}", 'r+') > > If you don't, you might end up running a different ruby than the one you > want. > > Aslak > >> end >> are you able to run popen calls in w$ ? try your irb and see, if not maybe >> there's some w$ expert who can help >> >> hope that helps >> joaquin >> >> >> >> >> >> >> >> _______________________________________________ >> rspec-users mailing list >> rspec-users@rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > > > > -- > Aslak (::) > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > -- www.least-significant-bit.com _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users