I started playing with gemsets and weird things have started to happen. RubyMine version is 4.0.3, Build # RM-117.320, Built on April 18 2012.
I have created an app called loco from command line. I have also created a gemset called loco for the app.
In Rubymine the project is set to use Ruby 1.9.3 and the loco gemset.
I modified the gem file to add some gems. From comamnd line did bundle install. Gemfile and gemlock files are attached.
From RubyMine if I run the debug, I get this:
Saying Yes ultimately results in:
Following instructions here: http://devnet.jetbrains.net/thread/434612 I tried to install the ruby-debug-base19x, linecache etc from command line. I encountered other problems like:
gem install linecache
Fetching: rbx-require-relative-0.0.9.gem (100%)
Fetching: linecache-0.46.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing linecache:
ERROR: Failed to build gem native extension.
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 options.
Provided configuration options:
Gem files will remain installed in /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/linecache-0.46 for inspection.
Results logged to /Users/sony/.rvm/gems/ruby-1.9.3-p194/gems/linecache-0.46/ext/gem_make.out
Tried installing specific version, 0.43, still did not work. I ended up uninstalling the ruby-debug gems and installing again a couple times.
At present if I do gem list, I see
These gems are in the loco gemset.
What do I need to do to fix the setup so that the debugger works?