cool, I'll give that a try in short thanks joaquin
2009/2/22, aslak hellesoy <[email protected]>: > On Sun, Feb 22, 2009 at 1:42 PM, Joaquin Rivera Padron > <[email protected]> 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 >> [email protected] >> http://rubyforge.org/mailman/listinfo/rspec-users >> > > > > -- > Aslak (::) > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > -- www.least-significant-bit.com _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
