Sha256: eef1390de24d584501d8ec8e2cb6e26970eeb771b31c073e458a3544e736d915

Contents?: true

Size: 412 Bytes

Versions: 4

Compression:

Stored size: 412 Bytes

Contents

run_once do
  
  require File.join_from_here('paths.rb')
  
  Dir.glob(File.join_from_here('..', 'portlets', '**/*.rb')).each do |d|
    require File.expand_path(d)
  end
  
  Mack.search_path(:initializers).each do |path|
    f = File.join(path, 'portlets.rb')
    require f if File.exists?(f)
  end
  
  required_portlets_list.each do |p|
    puts "portlet: #{p}"
    gem p.to_s
    require p.to_s
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mack-0.8.1 lib/mack/boot/portlets.rb
mack-0.8.2 lib/mack/boot/portlets.rb
mack-0.8.3.1 lib/mack/boot/portlets.rb
mack-0.8.3 lib/mack/boot/portlets.rb