I am trying to add a Gem into my Gemfile and generate the layout file, the command is
gem 'nifty-generators', :group => :development
However, when I type this command in the terminal, the feedback is
ERROR: While executing gem ... (Gem::CommandLineError) Unknown command nifty-generators
How should I fix it?
答案 0 :(得分:0)
您没有在终端中输入该内容,您需要将其添加到Gemfile
,然后从终端运行bundle install
。