gem_init.rb

Path: lib/raven/gem_init.rb
Last Update: Sat May 12 21:03:57 -0700 2007

Copyright 2006 Matthieu Riou

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Required files

rubygems   fileutils  

Methods

Constants

GEMS_IN_HOME = true   To avoid polluting the regular Gem repository, we store our gems under the user home directory.
USER_HOME = ENV['HOME'] ? ENV['HOME'] : ENV['USERPROFILE'].gsub('\\', '/')
RAVEN_HOME = File.join(USER_HOME, '.raven')

Public Instance methods

[Source]

    # File lib/raven/gem_init.rb, line 54
54: def set_sources(s) Gem.sources = s; end

[Source]

    # File lib/raven/gem_init.rb, line 53
53: def sources; Gem.sources; end

[Validate]