我正在尝试使用名为right_scraper的红宝石。我已经将gem添加到我的gem文件中,它安装得很好。我使用了gems github页面(https://github.com/rightscale/right_scraper)中的示例代码。
require 'rubygems'
require 'right_scraper'
scraper = RightScraper::Scraper.new(:basedir => '/tmp', :kind => :cookbook)
scraper.scrape(:type => :git, :url => 'git://github.com/rightscale/right_scraper.git')运行此代码将返回以下错误:
NameError (uninitialized constant RightScraper::Scraper)有人知道哪里出问题了吗?
https://stackoverflow.com/questions/39726886
复制相似问题