耙宝石:安装 RAILS_ENV=测试
当我运行“rake gem:install RAILS_ENV=test”命令时,它给我错误,如
rake aborted! 找不到 Rakefile(寻找:rakefile、Rakefile、rakefile.rb、Rakefile.rb) c:/Ruby192/lib/ruby/1.9.1/rake.rb:2367:in raw_load_rakefile' c:/Ruby192/lib/ruby/1.9.1/rake.rb:2007:in
load_rakefile 中的块' c:/Ruby192/lib/ruby/1.9.1/rake.rb:2058:in standard_exception_handling' c:/Ruby192/lib/ruby/1.9.1/rake.rb:2006:in
load_rakefile' c:/Ruby192/lib/ruby/1.9.1/rake.rb:1991:in run' c:/Ruby192/bin/rake:31:in
'
我应该做什么?
when I am running "rake gem:install RAILS_ENV=test" command it gives me error like
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2367:in raw_load_rakefile'
block in load_rakefile'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2007:in
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2058:in standard_exception_handling'
load_rakefile'
c:/Ruby192/lib/ruby/1.9.1/rake.rb:2006:in
c:/Ruby192/lib/ruby/1.9.1/rake.rb:1991:in run'
'
c:/Ruby192/bin/rake:31:in
what should I do for that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此错误意味着您执行该命令的根目录下没有 Rakefile。如果没有有关您的项目结构的更多信息,就很难说它是什么。
This error is implying that you dont have a Rakefile at the root of where you are executing that command. Without more information about your project structure, it is difficult to say its anything else.