pry-debugger is not available on Ruby 2.1
This commit is contained in:
parent
c9a640a3e2
commit
9e9bed0043
1
Gemfile
1
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
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue