Permalink
Browse files

Run irb through bundler in specs.

Ensures wirble is found.
  • Loading branch information...
1 parent ee43fb5 commit a25868b7dbd7cb462e8dcf40d439f76aad2ca4a0 @oggy committed Mar 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/wirble_compatibility_spec.rb
@@ -15,7 +15,7 @@ def init_irb_with(code)
irb = File.join Config::CONFIG['bindir'], 'irb'
lib_dir = File.expand_path('lib')
# irb hangs when using readline without a tty
- output = IO.popen("#{irb} -f --noreadline --noprompt --noverbose -I#{lib_dir} 2>&1", 'r+') do |io|
+ output = IO.popen("bundle exec #{irb} -f --noreadline --noprompt --noverbose -I#{lib_dir} 2>&1", 'r+') do |io|
io.puts code
io.flush
io.close_write

0 comments on commit a25868b

Please sign in to comment.