Gem Issue, Database Rake Aborted

I am looking to rake my database and load my server, but I get the following problems when I look at the database rake:

/.rvm/gems/ruby-1.9.3-p194/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle, 9): Symbol not found: _ruby_current_thread 

and two lines indicating the same problem Symbol not found: _ruby_current_thread :

 Referenced from: /.rvm/gems/ruby-1.9.3-p194/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle /.rvm/gems/ruby-1.9.3-p194/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle 

Expected in: flat namespace

It seems I can’t find a problem with this, thanks guys for your help in advance.

+4
source share
1 answer

There are some known issues with ruby ​​1.9.3 and ruby ​​debug. You have two options. Instead of using ruby-debug, you can use the gem debugger, which is the ruby ​​debugging plugin and works on ruby ​​1.9.3. This is the github page here .

 gem 'debugger' 

If you want to stay with ruby ​​debug, you will need to get the preliminary versions (after uninstalling the version you are currently using.):

 gem install ruby-debug-base19x --pre gem install ruby-debug-ide --pre 

Gemfile:

 gem 'ruby-debug-base19x', '0.11.30.pre10' gem 'ruby-debug-ide', '0.4.17.beta9' 

Cheers, Sean

+5
source

Source: https://habr.com/ru/post/1416406/


All Articles