尝试运行bundle install或bundle update时,bundler将永久挂起,而不是完成其功能.它完成的唯一时间是指定要更新的gem.
例如:
bundle update
Run Code Online (Sandbox Code Playgroud)
将永远挂起,除非我像这样使用它:
bundle update activerecord
Run Code Online (Sandbox Code Playgroud)
然后它将正常完成.
任何援助将不胜感激.
我试图找到一种方法将Git添加到Windows路径.每当我尝试从JetBrains的整洁IDE,RubyMine或GitBash本身运行RakeFiles时,我都会收到此标题发布的错误:
No such file or directory - git ls-files
Run Code Online (Sandbox Code Playgroud)
根据开发人员的说法,我需要将Git添加到我的Windows路径中.我还没有找到如何解决这个错误的任何东西,但Macs.有没有人可以帮我弄清楚如何解决这个问题?
我在这里对这位先生有类似的问题.
我一直试图通过rake任务运行黄瓜功能.我一直在标题中找到指定的错误.
这是一个完整的回溯.而我的红宝石版本.(当我尝试运行rails版本命令时,我收到"未找到命令".
$ rake features:all --trace
** Invoke features:all (first_time)
** Invoke features:watir_webdriver (first_time)
** Execute features:watir_webdriver
c:/Ruby193/bin/ruby -S bundle exec cucumber --profile watir
Using the watir profile...
No such file or directory - /dev/null (Errno::ENOENT)
c:/Ruby193/lib/ruby/1.9.1/webrick/log.rb:34:in `initialize'
c:/Ruby193/lib/ruby/1.9.1/webrick/log.rb:34:in `open'
c:/Ruby193/lib/ruby/1.9.1/webrick/log.rb:34:in `initialize'
c:/Ruby193/lib/ruby/1.9.1/webrick/log.rb:124:in `initialize'
c:/code/page-object/features/sample-app/sample_app.rb:12:in `new'
c:/code/page-object/features/sample-app/sample_app.rb:12:in `start'
c:/code/page-object/features/support/ajax_text_environment.rb:6:in `block in run'
rake aborted!
Command failed with status (1): [c:/Ruby193/bin/ruby -S bundle exec cucumbe...]
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `call'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `sh'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `sh'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.1.9/lib/cucumber/rake/task.rb:104:in `run'
c:/Ruby193/lib/ruby/gems/1.9.1/gems/cucumber-1.1.9/lib/cucumber/rake/task.rb:193:in …Run Code Online (Sandbox Code Playgroud)