File: boot.rb

package info (click to toggle)
ruby-email-spec 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 892 kB
  • sloc: javascript: 6,743; ruby: 2,550; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Use locked gems if present.
begin
  require File.expand_path('../../.bundle/environment', __FILE__)

rescue LoadError
  # Otherwise, use RubyGems.
  require 'rubygems'

  # And set up the gems listed in the Gemfile.
  if File.exist?(File.expand_path('../../Gemfile', __FILE__))
    require 'bundler'
    Bundler.setup
  end
end