Eric Guo's

in HTML5, JavaScript, Ruby & Rails, Python, and Cloud MES!

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


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/ 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'