Eric Guo's blog.cloud-mes.com

Hoping writing JS, Ruby & Rails and Go article, but fallback to DevOps note

How to Avoid the Ruby Debugger Warning Already Initialized Constant VERSION in Rubymine

Permalink

Now I’m using the Rubymine instead of pry-debugger as my primary Rails environment, Rubymine has much great debug facility and what’s more, I spend $17 when the JetBrains offer 75% off at the Mayan Doomsday.

But I found a problem that rubymine always refuse to enter the debug mode when I using my pl-form project in below warning:

debugger-1.2.3/lib/ruby_debug.so: warning: already initialized constant VERSION

finally I found prject Gemfile need a little review:

group :development do
gem 'quiet_assets'
# Disable below two line if you using rubymine
#gem 'pry-rails'
#gem 'pry-debugger'
end

Comments