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? -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
In Rails 3 you need to include the gem in Gemfile gem ''ruby-debug'' Cheers! Arzumy On Nov 8, 8:52 am, Icenine Jon <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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 onhttp://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? > > -- > Posted viahttp://www.ruby-forum.com/.-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
That did the trick! I just converted over to Rails 3 so I wasn''t aware of the Gemfile requirement. smbepiec, thanks for the suggestion -- it will come in handy when I update to Ruby 1.9.2. Arzumy MD wrote in post #960061:> In Rails 3 you need to include the gem in Gemfile > > gem ''ruby-debug'' > > Cheers! > Arzumy-- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 10-11-08 03:00 AM, Arzumy MD wrote:> In Rails 3 you need to include the gem in Gemfile > > gem ''ruby-debug'' > > Cheers! > Arzumy >you will also need to type the following at the prompt: bundle install FYI: when replying get into the habit of bottom posting, it''s easier to follow thread -- Kind Regards, Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely GNU/Linux: 2.6.35-22-generic Kubuntu x86_64 10.10 | KDE 4.5.1 Ruby 1.9.2p0 | Rails 3.0.1 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rajinder Yadav wrote in post #960332:> you will also need to type the following at the prompt: > > bundle install > > FYI: when replying get into the habit of bottom posting, it''s easier to > follow threadThanks Rajinder! -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.