ruby-debug

Debug Not Working After Upgrade To Ruby 1.9.3 And Rails 3.2.2

◇◆丶佛笑我妖孽 提交于 2020-01-15 11:36:49
问题 I have upgraded my app to use Ruby 1.9.3p0 and Rails 3.2.2. To get bundler working I changed this: gem 'ruby-debug' to this: gem 'ruby-debug19' Now rails server gives: Could not find archive-tar-minitar-0.5.2 in any of the sources Run `bundle install` to install missing gems. Running bundle install does not help. The error goes away when I remove ruby-debug19 gem from my Gemfile, but then debugging does away too. I also tried changing the Gemfile to: gem 'ruby-debug19', :require => 'ruby

Debug Not Working After Upgrade To Ruby 1.9.3 And Rails 3.2.2

前提是你 提交于 2020-01-15 11:33:10
问题 I have upgraded my app to use Ruby 1.9.3p0 and Rails 3.2.2. To get bundler working I changed this: gem 'ruby-debug' to this: gem 'ruby-debug19' Now rails server gives: Could not find archive-tar-minitar-0.5.2 in any of the sources Run `bundle install` to install missing gems. Running bundle install does not help. The error goes away when I remove ruby-debug19 gem from my Gemfile, but then debugging does away too. I also tried changing the Gemfile to: gem 'ruby-debug19', :require => 'ruby

How to get awesome_print to work in pry/ruby-debug in running app

混江龙づ霸主 提交于 2020-01-13 20:34:26
问题 I super love awesome_print and ruby-debug but I can't get them to work together. AwesomePrint returns HTML for formatting but I'd it seems like ruby-debug and pry don't like multi-line output so I always end up with a complete mess. This is what it looks like when I run ap from pry or ruby-debug (in a running app). pry(#<#<Class:0x000001117f2f58>:0x000001117ef560>)> ap @user => "#<User:0x000001111de888> {\n<pre>:id</pre><pre> => </pre>\n ... snip ...}" Has anyone had any luck getting awesome

Installing ruby-debug-base19 on Windows in Ruby 1.9.3

北城以北 提交于 2020-01-13 09:08:31
问题 I need to install ruby-debug-base19 in order to active debug on Netbeans IDE, when I execute: $ gem install ruby-debug-base19 I got the following error. Extracted from log generate C:/Ruby193/bin/ruby.exe extconf.rb checking for rb_method_entry_t.body in method.h... no checking for vm_core.h... no C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config. checking for rb_method_entry_t.body in method.h... no

how do I install ruby-debug in ruby 1.9.3 / Rails 3.2.1 [duplicate]

杀马特。学长 韩版系。学妹 提交于 2020-01-09 13:05:23
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Rails 3.1 and Ruby 1.9.3p125: ruby-debug19 still crashes with “Symbol not found: _ruby_threadptr_data_type” I'm done with printing to the console -- I want to move up to the 20th century and start using a debugger!! But how do I install ruby-debug? The native compilation of ruby-debug.c fails when I try to install the ruby-debug19 gem. I've looked over other SO postings and haven't found the answer yet... I am

Problem Installing Ruby-Debug on Windows

佐手、 提交于 2020-01-06 01:51:31
问题 Any suggestions? C:\Users\Steve\barcoden>gem install ruby-debug Building native extensions. This could take a while... ERROR: Error installing ruby-debug: ERROR: Failed to build gem native extension. C:/Ruby/bin/ruby.exe extconf.rb creating Makefile make 'make' is not recognized as an internal or external command, operable program or batch file. Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.8/gems/linecache-0.43 for inspection. Results logged to C:/Ruby/lib/ruby/gems/1.8/gems

ruby-debug Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers

家住魔仙堡 提交于 2019-12-28 04:22:06
问题 My Rails is 3.2.1.4 , Ruby is 1.9.3p448 . I got an error when I install ruby-debug : Building native extensions. This could take a while... ERROR: Error installing ruby-debug: ERROR: Failed to build gem native extension. /home/hxh/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb Can't handle 1.9.x yet *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration

ruby-debug with Pow — breakpoints never hit

被刻印的时光 ゝ 提交于 2019-12-21 04:14:30
问题 I'm trying to use ruby-debug with Pow. Rails 3 app. I have done everything here: https://gist.github.com/1098830 I've restarted the server and machine several times. I can get rdebug to connect: → rdebug -c Connected. but it never stops at the breakpoints. Any idea what could be going on? I got it to hit a few breakpoints a few hours ago, and not since. controller def index debugger ... end Gemfile gem 'ruby-debug19', :require => 'ruby-debug' development.rb EG::Application.configure do ...

Ruby Debug “no such file to load --spec_helper”

馋奶兔 提交于 2019-12-21 03:31:18
问题 Noob who may be missing something obvious ... I'm trying to debug an Rspec file. The Rspec file is stripped down at this point: require 'spec_helper' describe PagesController do render_views describe "GET 'home'" do describe "when not signed in" do before(:each) do get :home end it "should be successful" do response.should be_success end it "should have a vendor section" do response.should have_selector("h1", :content => "Vendor") end it "should have a hospital section" do response.should

How can I get ruby-debug-ide to work?

非 Y 不嫁゛ 提交于 2019-12-21 02:51:27
问题 I can't get my ruby-debug-ide to work properly. I have a basic rails app, and I would like to debug in RubyMine. Before I even start RubyMine, I need to enable rdebug-ide in my vagrant VM. When I navigate to my project directory, I have read online I need to enter the following command: rdebug-ide --port 1236 --dispatcher-port 26166 --host 0.0.0.0 - bin/rails s -b 0.0.0.0 However when I run this command, I get this message: I have also tried a modified version of the above command: (an extra