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
parent
122928d952
commit
f494a9f3da
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue