Unable to start Rubymine Debugger on specific app
I am unable to start Rubymine on one particular application I have using the development configuration. I can start the development configuration ok via RubyMine, but when I attempt to start with RubyMine via Debug, I get the error shown below. How do I resolve this?
/Users/<username>/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/<username>/.rvm/gems/ruby-1.9.2-p290@global/gems/ruby-debug-ide-0.4.17.beta9/bin/rdebug-ide --port 50466 -- /Users/<username>/apps/<appname>/script/rails server webrick -b 0.0.0.0 -p 3000 -e development
Fast Debugger (ruby-debug-ide 0.4.17.beta9, ruby-debug-base 0.11.30.pre10) listens on 127.0.0.1:50466
=> Booting WEBrick
=> Rails 3.2.3<username> application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Uncaught exception: syntax error on line 49, col 11: `'
/Users/<username>/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck.rb:135:in `load'
/Users/<username>/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck.rb:135:in `load'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/application/configuration.rb:115:in `database_configuration'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/railtie.rb:75:in `block (2 levels) in <class:Railtie>'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:26:in `block in on_load'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:25:in `each'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/lazy_load_hooks.rb:25:in `on_load'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/railtie.rb:74:in `block in <class:Railtie>'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `instance_exec'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:30:in `run'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `each'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/initializable.rb:54:in `run_initializers'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/application.rb:136:in `initialize!'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/<username>/apps/<appname>/config/environment.rb:8:in `<top (required)>'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
/Users/<username>/apps/<appname>/config.ru:4:in `block in <main>'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
/Users/<username>/apps/<appname>/config.ru:1:in `new'
/Users/<username>/apps/<appname>/config.ru:1:in `<main>'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands/server.rb:46:in `app'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands/server.rb:70:in `start'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands.rb:55:in `block in <top (required)>'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands.rb:50:in `tap'
/Users/<username>/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.3/lib/rails/commands.rb:50:in `<top (required)>'
/Users/<username>/apps/<appname>/script/rails:6:in `require'
/Users/<username>/apps/<appname>/script/rails:6:in `<top (required)>'
Exiting
Process finished with exit code 137
Here is my Environment.rb:
# Load the rails application
require File.expand_path('../application', __FILE__)
#
# Initialize the rails application
<appname>::Application.initialize!
Here is my config.ru
require ::File.expand_path('../config/environment', __FILE__)
run Moveninja::Application
Any advice on what I can try next will be greatly appreciated.
Please sign in to leave a comment.