Skip to content

Commit 5a59d13

Browse files
authored
Merge pull request #84 from kou/improve-iruby-dependency-detection
Improve iruby dependency detection
2 parents fdf2e79 + a3c7ef4 commit 5a59d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/iruby/command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def check_registered_kernel
106106
def check_bundler
107107
require 'bundler'
108108
raise %q{iruby is missing from Gemfile. This might not work.
109-
Add `gem 'iruby'` to your Gemfile to fix it.} unless Bundler.definition.dependencies.any? {|s| s.name == 'iruby' }
109+
Add `gem 'iruby'` to your Gemfile to fix it.} unless Bundler.definition.specs.any? {|s| s.name == 'iruby' }
110110
Bundler.setup
111111
rescue LoadError
112112
rescue Exception => e

0 commit comments

Comments
 (0)