Don't depend on 'rb-readline' on Windows

MSP-11585

`rb-readline` gem doesn't work with Ruby Installer for 1.9.3 because of
`NoMethodError undefined method 'dlopen' for Fiddle:Module`.  Removing
`rb-readline` may be a temporary fix it if turns out that this is a bug
with rb-readline or some other upstream bug.
bug/bundler_fix
Luke Imhoff 2014-11-06 14:52:49 -06:00
parent 122928d952
commit f494a9f3da
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
1 changed files with 8 additions and 2 deletions

View File

@ -76,8 +76,14 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'railties'
# required for OS fingerprinting
spec.add_runtime_dependency 'recog', '~> 1.0'
# read... lines...
# rb-readline doesn't work with Ruby Installer due to error with Fiddle:
# NoMethodError undefined method `dlopen' for Fiddle:Module
unless Gem.win_platform?
# Command line editing, history, and tab completion in msfconsole
spec.add_runtime_dependency 'rb-readline'
end
# Needed by anemone crawler
spec.add_runtime_dependency 'robots'
# Needed by some modules