From 9e9bed0043515c3adcd3c4dee248b648dac1343d Mon Sep 17 00:00:00 2001 From: Ben Hollis Date: Mon, 3 Mar 2014 23:07:32 -0800 Subject: [PATCH] pry-debugger is not available on Ruby 2.1 --- Gemfile | 1 - middleman-cli/lib/middleman-cli/bundler.rb | 40 ---------------------- 2 files changed, 41 deletions(-) delete mode 100644 middleman-cli/lib/middleman-cli/bundler.rb diff --git a/Gemfile b/Gemfile index 83cd68cc..6b365575 100644 --- a/Gemfile +++ b/Gemfile @@ -24,7 +24,6 @@ platforms :ruby do gem 'therubyracer' gem 'redcarpet', '~> 3.1' gem 'pry', :require => false, :group => :development - gem 'pry-debugger', :require => false, :group => :development end platforms :jruby do diff --git a/middleman-cli/lib/middleman-cli/bundler.rb b/middleman-cli/lib/middleman-cli/bundler.rb deleted file mode 100644 index 43a0d862..00000000 --- a/middleman-cli/lib/middleman-cli/bundler.rb +++ /dev/null @@ -1,40 +0,0 @@ -# CLI Module -module Middleman::Cli - - # A initializing Bundler - class Bundle < Thor - include Thor::Actions - check_unknown_options! - - namespace :bundle - - desc 'bundle', 'Setup initial bundle', :hide => true - - # The setup task - def bundle - run('bundle install')#, :capture => true) - end - end - - # A upgrading Bundler - class Upgrade < Thor - include Thor::Actions - check_unknown_options! - - namespace :upgrade - - desc 'upgrade', 'Upgrade installed bundle' - - # The upgrade task - def upgrade - inside(ENV['MM_ROOT']) do - run('bundle update')#, :capture => true) - end - end - end - - # Map "u" to "upgrade" - Base.map({ - 'u' => 'upgrade' - }) -end