In debugger-ruby_core_source 1.3.7 this was fixed https://github.com/cldwalker/debugger-ruby_core_source/pull/42 for ruby 1.9.3-p551
Here I commit all the required files for a development cartodb container to be successfully build and run with Docker.