![]() Uncaught exception: cannot load such file - ruby-debugĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency' I have also tried using a backup copy of the code and following the same steps, i also get the following error when trying to load up the debugger: So i try double clicking in the gutter of my script to create a breakpoint, RubyMine pauses for a second and then i get:ĭ:\Ruby\Ruby193\bin\ruby.exe -e $stdout.sync=true $stderr.sync=true load($0=ARGV.shift) D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/bin/rdebug-ide -dispatcher-port 55451 -port 55452 - S:/code/account_groups/script/rails consoleįast Debugger (ruby-debug-ide 0.4.17.beta14, ruby-debug-base 0.11.30.pre10) listens on 127.0.0.1:55452ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/debugger-1.1.4/lib/ruby_debug.so: warning: already initialized constant VERSIONĥ992: Exception in DebugThread loop: undefined method `errmsg' for #ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/debugger-1.1.4/lib/ruby-debug/command.rb:160:in `errmsg'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/debugger-1.1.4/lib/ruby-debug/commands/breakpoints.rb:81:in `execute'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/lib/ruby-debug-ide/ide_processor.rb:89:in `block in process_commands'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/lib/ruby-debug-ide/ide_processor.rb:86:in `catch'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/lib/ruby-debug-ide/ide_processor.rb:86:in `process_commands'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/lib/ruby-debug-ide.rb:160:in `block in start_control' And puts "test" #test => nil works again. To my Gemfile, and run a bundle install from the console.įinally, i open the debugger inside RubyMine (SHIFT F9). So, following SO, I comment out debugger from Gemfile and run Reading here, however, it seems debugger is not sufficient. Looks like we have debugger in favour of ruby-debug. Gem 'ruby-prof', :require => false #, :git => 'git:///wycats/ruby-prof.git' #gem 'ruby-debug-base19', :require => false I click cancel and check my Gemfile, the only ones related to debugging present are: The gem ruby-debug-base19x required by the debugger is currently not installed. I now try the debugger ( SHIFT F9) and see the message: I then ensure Ruby is working: Tools > IRB Console > puts "test" #test => nil - Works idea directory) and am prompted to run bundle install which I do (from console) as requested. I open up the directory in RubyMine (remembering first to delete the. I then try to begin working with my team's ruby code. having removed all previous ruby and gem directories) install of Ruby 1.9.3, Ruby Gems, DevKit and Rails (following this guide) - that works fine. So, I am struggling to get debugging working in RubyMine 4.5 using Ruby 1.9.3, my steps are as follows:įresh (i.e. ℹ️About GitHub Wiki SEE, a search engine enabler for GitHub WikisĪs GitHub blocks most GitHub Wikis from search engines.My apologies for the length of the question, but I want to make it clear I am not making any stupid mistakes! Once you hit a break point, you can begin to move through your code step-by-step, and view the state of your application at every step! ⚠️ ** Fallback** ⚠️ ?️ Page Index for this GitHub Wiki It is a place where your code will pause when running in debug mode. If you click in there beside any line of code, you should see a red dot appear. In code edit mode, there is a narrow channel to the left of your code. For more information about RubyMine’s debugger, see their Online Help In the left menu, expand Rails and choose the environment you’d like to debug in (usually development)Ī server should now be launched at If you head over to this in your web browser, you’ll be using your app through the debugger.Click on Run > Debug (Option Cmd F8 on OSX). ![]() Next, simply open up your app in RubyMine.idea folder in your project in order to get RubyMine to rescan it. At this point, your radiant app should be ready to go! Running RubyMine’s debugger on your app.įirst of all, if you’ve ever opened your project in RubyMine before, you may need to delete the. ![]()
0 Comments
Leave a Reply. |