Permalink
Browse files

Temporarily disable pushing

  • Loading branch information...
1 parent c878731 commit 3fe95b2e24171f0325e023e08d5472c3977e7b2b @qrush qrush committed Jan 30, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 app/controllers/api/v1/rubygems_controller.rb
@@ -23,9 +23,10 @@ def show
end
def create
- gemcutter = Pusher.new(current_user, request.body, request.host_with_port)
- gemcutter.process
- render :text => gemcutter.message, :status => gemcutter.code
+ render :text => "Pushing is temporarily disabled. Please check http://status.rubygems.org for more info.", :status => 503
+ #gemcutter = Pusher.new(current_user, request.body, request.host_with_port)
+ #gemcutter.process
+ #render :text => gemcutter.message, :status => gemcutter.code
end
def yank

0 comments on commit 3fe95b2

Please sign in to comment.