[英]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
软件包adsf
和asdf
被混淆了。 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.