Permalink
Browse files

Dev: remove obsolete file

  • Loading branch information...
1 parent 73b8714 commit 7658d8b3a30c5ada4c21793dab5ffe9ce277914b @dchelimsky dchelimsky committed May 8, 2011
Showing with 0 additions and 13 deletions.
  1. +0 −13 spec/ruby_forker.rb
View
13 spec/ruby_forker.rb
@@ -1,13 +0,0 @@
-require 'rbconfig'
-
-module RubyForker
- # Forks a ruby interpreter with same type as ourself.
- # jruby will fork jruby, ruby will fork ruby etc.
- def ruby(args, stderr=nil)
- config = ::RbConfig::CONFIG
- interpreter = File::join(config['bindir'], config['ruby_install_name']) + config['EXEEXT']
- cmd = "#{interpreter} #{args}"
- cmd << " 2> #{stderr}" unless stderr.nil?
- `#{cmd}`
- end
-end

0 comments on commit 7658d8b

Please sign in to comment.