简体   繁体   English

找不到所需的“ adsf” gem,这是view命令所必需的

[英]Could not find the required 'adsf' gem, which is necessary for the view command

I was recently working on a project in nanoc and installed bundler so I could use guard to watch the project directory. 我最近正在用nanoc开发一个项目,并安装了bundler因此可以使用guard监视项目目录。

Now when I run nanoc view the webserver doesn't start up displaying the following error instead: 现在,当我运行nanoc view ,Web服务器不会启动,而是显示以下错误:

$ nanoc view
Could not find the required 'adsf' gem, which is necessary for the view command.

I read in a google group that there has been some sort of a typo in which the gem packages adsf and asdf have been confused. 我在一个Google小组中读到,有一种拼写错误,其中adsf软件包adsfasdf被混淆了。 I tried installing both of them with sudo gem install but I when I run the command I still get the same error message. 我尝试使用sudo gem install它们,但是当我运行命令时,我仍然收到相同的错误消息。

Add the gem "adsf" to your Gemfile , and run bundle command. gem "adsf"添加到您的Gemfile ,然后运行bundle命令。 And, then run nanoc view . 然后,运行nanoc view Should work. 应该管用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM