diff --git a/Gemfile b/Gemfile index 520c052b..3bb627a6 100644 --- a/Gemfile +++ b/Gemfile @@ -7,11 +7,14 @@ gemspec gem 'haml', github: 'haml/haml' gem 'benchmark-ips', '2.3.0' -gem 'lineprof' -gem 'stackprof' gem 'minitest-line' gem 'pry-byebug' if File.exist?('hamlit1') gem 'hamlit1', path: 'hamlit1' end + +if RUBY_VERSION >= '2.1.0' + gem 'lineprof' + gem 'stackprof' +end