0

我正在尝试在 backtrack5 R3 上设置 snorby,因为它看起来很酷,而且我的老板想要它。此外,backtrack 已经安装了 snort,这让我的工作更轻松。在确保一切都已安装并解决了许多其他问题之后,我开始收到 dm-active_model-1.2.1 的错误它一直在说“在任何来源中都找不到 dm-active_model-1.2.1。每当我把在 snorby 文件夹中的 bundle install 中,它会吐出看起来像 gem 的源代码...我将在下面发布。

WARNING:  #<ArgumentError: Illformed requirement ["#<Syck::DefaultKey:0xa54414c> 1.2.3"]>
 # -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
  s.name = %q{dm-active_model}
  s.version = "1.2.1"

  s.required_rubygems_version = Gem::Requirement.new(">= 0") if 
s.respond_to? :required_rubygems_version=
  s.authors = ["Martin Gamsjaeger (snusnu)"]
  s.date = %q{2012-02-15 00:00:00.000000000Z}
  s.description = %q{A datamapper plugin for active_model compliance and thus rails 3 compatibility.}
  s.email = %q{gamsnjaga [a] gmail [d] com}
  s.extra_rdoc_files = ["LICENSE", "README.rdoc", "TODO"]
  s.files = [".document", "CHANGELOG", "Gemfile", "LICENSE", "README.rdoc", "Rakefile", "TODO", "VERSION", "dm-active_model.gemspec", "lib/dm-active_model.rb", "lib/dm-active_model/version.rb", "spec/amo_interface_compliance_spec.rb", "spec/amo_validation_compliance_spec.rb", "spec/dm-active_model_spec.rb", "spec/lib/amo_lint_extensions.rb", "spec/rcov.opts", "spec/spec.opts", "tasks/changelog.rake", "tasks/spec.rake", "tasks/yard.rake", "tasks/yardstick.rake"]
  s.homepage = %q{http://github.com/datamapper/dm-active_model}
  s.require_paths = ["lib"]
  s.rubyforge_project = %q{datamapper}
  s.rubygems_version = %q{1.3.7}
  s.summary = %q{active_model compliance for datamapper}

  if s.respond_to? :specification_version then
    current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
    s.specification_version = 3

    if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
      s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0"])
      s.add_runtime_dependency(%q<activemodel>, ["~> 3.0"])
      s.add_development_dependency(%q<dm-validations>, ["~> 1.2.0"])
      s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
      s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
      s.add_development_dependency(%q<rspec>, ["~> 1.3.2"])
      s.add_development_dependency(%q<test-unit>, ["#<Syck::DefaultKey:0xa54414c> 1.2.3"])
    else
      s.add_dependency(%q<dm-core>, ["~> 1.2.0"])
      s.add_dependency(%q<activemodel>, ["~> 3.0"])
      s.add_dependency(%q<dm-validations>, ["~> 1.2.0"])
      s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
      s.add_dependency(%q<rake>, ["~> 0.9.2"])
      s.add_dependency(%q<rspec>, ["~> 1.3.2"])
      s.add_dependency(%q<test-unit>, ["#<Syck::DefaultKey:0xa54414c> 1.2.3"])
    end
  else
    s.add_dependency(%q<dm-core>, ["~> 1.2.0"])
    s.add_dependency(%q<activemodel>, ["~> 3.0"])
    s.add_dependency(%q<dm-validations>, ["~> 1.2.0"])
    s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
    s.add_dependency(%q<rake>, ["~> 0.9.2"])
    s.add_dependency(%q<rspec>, ["~> 1.3.2"])
    s.add_dependency(%q<test-unit>, ["#<Syck::DefaultKey:0xa54414c> 1.2.3"])
  end
end
WARNING:  Invalid .gemspec format in '/var/lib/gems/1.9.2/specifications/dm-active_model- 1.2.1.gemspec'
Could not find dm-active_model-1.2.1 in any of the sources

编辑:现在我在 Ubuntu 11 32 位中运行。我想出了同样的连续问题......

4

1 回答 1

1

Snorby 需要 Ruby 1.9.3 或更高版本。既然您提到了简化,请看一下 Security Onion。它设置了 Snort 和 Snorby 以及许多其他工具。

于 2012-09-19T18:22:25.440 回答