Permalink
Browse files

Handle include paths separated by colons when launching ruby

  • Loading branch information...
1 parent 0a7de8c commit 307fdc26df8f9e5278bc1e2bf4faad492e4cfd99 @bgarret bgarret committed Dec 14, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/snailgun/server.rb
View
@@ -76,7 +76,9 @@ def start_ruby(args)
e << v
end
opts.on("-I DIR") do |v|
- $:.unshift v
+ v.split(':').each do |value|
+ $:.unshift value
+ end
end
opts.on("-r LIB") do |v|
require v

0 comments on commit 307fdc2

Please sign in to comment.