gpt4 book ai didi

ruby-on-rails - 可以安装gem ruby​​-debug,但是rails server找不到

转载 作者:太空宇宙 更新时间:2023-11-03 16:53:55 27 4
gpt4 key购买 nike

我在安装 ruby​​ gems 时发现了一个非常有趣的问题

bluehat@Matapan:~/code/Amacron$ rails server --debugger
=> Booting WEBrick
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
Exiting
bluehat@Matapan:~/code/Amacron$ sudo gem install ruby-debug
Successfully installed ruby-debug-0.10.4
1 gem installed
Installing ri documentation for ruby-debug-0.10.4...
Installing RDoc documentation for ruby-debug-0.10.4...
bluehat@Matapan:~/code/Amacron$ rails server --debugger
=> Booting WEBrick
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
Exiting
bluehat@Matapan:~/code/Amacron$ sudo gem update ruby-debug
Updating installed gems
Nothing to update
bluehat@Matapan:~/code/Amacron$ gem --version
1.3.7
bluehat@Matapan:~/code/Amacron$ rails --version
Rails 3.0.3

系统是最新的 Ubuntu 11.04

最佳答案

您是否将此 gem 放入应用程序的 Gemfile 中?

关于ruby-on-rails - 可以安装gem ruby​​-debug,但是rails server找不到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4778177/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com