安装 nifty-generator 的问题
我正在尝试安装 nifty-generator gem - 但遇到问题
当我将此命令放入终端时,我收到此错误 -
gem "nifty-generators", :group => :development
ERROR: While executing gem ... (RuntimeError)
Unknown command nifty-generators,
尝试谷歌搜索但找不到解决方案。
Ubuntu 10.04、Rails 3.0.9 和 Ruby 1.9.2
I am trying to install nifty-generator gem - but have problem
When I put this command in my terminal I get this error-
gem "nifty-generators", :group => :development
ERROR: While executing gem ... (RuntimeError)
Unknown command nifty-generators,
Tried googling it but couldn't find a solution.
Ubuntu 10.04, Rails 3.0.9 and Ruby 1.9.2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
萨米尔
您应该将此字符串写入
Gemfile 中,该文件位于您的 Rails 应用程序根文件夹中。然后在终端中转到您的应用程序文件夹并执行
,只有这样您才能使用这个 gem 的所有优点。
如果你想从终端安装“nifty-generators”,请尝试
Samir
You should write this string
in your Gemfile, located on yours rails application root folder. Then in terminal go to your apllication folder and execute
and only then you can use all of advantages of this gem.
If you want to install "nifty-generators" from terminal, try