Sha256: 0623c191092652ecf3a5f0e11d745594c6fe9100d5dc7449b627c5b4fadeb122

Contents?: true

Size: 574 Bytes

Versions: 6

Compression:

Stored size: 574 Bytes

Contents

# Don't change this file!
# Configure your app in config/environment.rb and config/environments/*.rb

APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unless defined?(APP_ROOT)

edge_path = File.join(APP_ROOT, *%w{vendor bowline lib bowline.rb})

if File.exist?(edge_path)
  bowline_path = edge_path
else
  gems_path    = File.join(APP_ROOT, *%w{vendor gems gems})
  bowline_path = Dir[File.join(gems_path, *%w{{maccman-bowline*,bowline*} lib bowline.rb})][-1]
end

if bowline_path
  require bowline_path
else
  require "rubygems"
  require "bowline"
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
maccman-bowline-0.4.5 templates/config/boot.rb
maccman-bowline-0.4.6 templates/config/boot.rb
maccman-bowline-0.4.7 templates/config/boot.rb
maccman-bowline-0.4.8 templates/config/boot.rb
bowline-0.5.0 templates/config/boot.rb
bowline-0.4.6 templates/config/boot.rb