If you're using ruby1.9.2 try:
group :development, :test do
gem 'ruby-debug19', :require => "ruby-debug"
end
in your Gemfile.
I'd imply you should update to Rails 3.0.1 because of a security-update
for nested attributes (if you use 'em).
On 08/11/10 01:52, Icenine Jon wrote:
I'm trying to use ruby-debug but when I try to start the server with it,
I get an error saying I need to install it (even though it's installed):
tiberius:project Jonathan$ sudo gem install ruby-debug
Building native extensions. This could take a while...
Successfully installed ruby-debug-base-0.10.4
Successfully installed ruby-debug-0.10.4
2 gems installed
Installing ri documentation for ruby-debug-base-0.10.4...
Installing ri documentation for ruby-debug-0.10.4...
Installing RDoc documentation for ruby-debug-base-0.10.4...
Installing RDoc documentation for ruby-debug-0.10.4...
tiberius:project Jonathan$ rails server --debug
=> Booting WEBrick
=> Rails 3.0.0 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
tiberius:project Jonathan$ gem list
*** LOCAL GEMS ***
...
ruby-debug (0.10.4)
ruby-debug-base (0.10.4)
...
The gem also appears to run okay:
tiberius:project Jonathan$ irb
require 'ruby-debug'
=> true
Any idea why it's not working?
--
best regards
Bente Pieck
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.