Sha256: ae1a97ce540ec56558c51c707f728d0bc91f01747f0dd5a324b7a3443c58b8fa

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

# Add test and lib paths to the $LOAD_PATH
[ File.dirname(__FILE__),
  File.join(File.dirname(__FILE__), '..', 'lib')
].each do |path|
  full_path = File.expand_path(path)
  $LOAD_PATH.unshift(full_path) unless $LOAD_PATH.include?(full_path)
end

require '<%= @gem.ruby_name %>'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ggem-1.0.1 lib/ggem/template_file/test_env.rb.erb
ggem-1.0.0 lib/ggem/template_file/test_env.rb.erb