# -*- coding: utf-8 -*- # This is the main configuration file for your RubyGems mirror. Here you can # change settings such as the location to store Gem files in and what source # and Gems you'd like to mirror at start. Gemirro.configuration.configure do # The directory to store indexing information as well as the Gem files in. destination File.expand_path('../public', __FILE__) # If you're in development mode your probably want to switch to a debug # logging level. logger.level = Logger::INFO # If you want to run your server on a specific host and port, you must # change the following parameter (server_host and server_port). # # server_host = 'localhost' # server_port = '2000' # You must define a source wich where gems will be downloaded. # All gem in the block will be downloaded with the update command. # Other gems will be downloaded with the server. define_source 'rubygems', 'http://rubygems.org' do gem 'rack', '>= 1.0.0' end end