Sha256: 481a23507e466cd5a1ef0063baf7133e72805d4cd621e40828dd887c163fd4a3

Contents?: true

Size: 779 Bytes

Versions: 24

Compression:

Stored size: 779 Bytes

Contents

# encoding: utf-8

#!/usr/bin/env ruby

# This was added by Merb's bundler

require "rubygems"
require File.join(File.dirname(__FILE__), "common")

gems_dir = File.join(File.dirname(__FILE__), '..', 'gems')

if File.directory?(gems_dir)
  $BUNDLE = true
  Gem.clear_paths
  Gem.path.replace([File.expand_path(gems_dir)])
  ENV["PATH"] = "#{File.dirname(__FILE__)}:#{ENV["PATH"]}"

  gem_file = File.join(gems_dir, "specifications", "<%= spec.name %>-*.gemspec")

  if local_gem = Dir[gem_file].last
    version = File.basename(local_gem)[/-([\.\d]+)\.gemspec$/, 1]
  end
end

version ||= "<%= Gem::Requirement.default %>"

if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
  version = $1
  ARGV.shift
end

gem '<%= @spec.name %>', version
load '<%= bin_file_name %>'

Version data entries

24 entries across 6 versions & 1 rubygems

Version Path
rango-0.2.3 benchmarks/stubs/merb-app/tasks/merb.thor/app_script.rb
rango-0.2.3 benchmarks/stubs/merb-very-flat/tasks/merb.thor/app_script.rb
rango-0.2.3 benchmarks/stubs/merb-flat/tasks/merb.thor/app_script.rb
rango-0.2.3 benchmarks/stubs/merb-core/tasks/merb.thor/app_script.rb
rango-0.2.1 benchmarks/stubs/merb-core/tasks/merb.thor/app_script.rb
rango-0.2.1 benchmarks/stubs/merb-very-flat/tasks/merb.thor/app_script.rb
rango-0.2.1 benchmarks/stubs/merb-flat/tasks/merb.thor/app_script.rb
rango-0.2.1 benchmarks/stubs/merb-app/tasks/merb.thor/app_script.rb
rango-0.2.1.pre benchmarks/stubs/merb-app/tasks/merb.thor/app_script.rb
rango-0.2.1.pre benchmarks/stubs/merb-core/tasks/merb.thor/app_script.rb
rango-0.2.1.pre benchmarks/stubs/merb-flat/tasks/merb.thor/app_script.rb
rango-0.2.1.pre benchmarks/stubs/merb-very-flat/tasks/merb.thor/app_script.rb
rango-0.0.6 benchmarks/stubs/merb-flat/tasks/merb.thor/app_script.rb
rango-0.0.6 benchmarks/stubs/merb-very-flat/tasks/merb.thor/app_script.rb
rango-0.0.6 benchmarks/stubs/merb-core/tasks/merb.thor/app_script.rb
rango-0.0.6 benchmarks/stubs/merb-app/tasks/merb.thor/app_script.rb
rango-0.1.pre benchmarks/stubs/merb-core/tasks/merb.thor/app_script.rb
rango-0.1.pre benchmarks/stubs/merb-very-flat/tasks/merb.thor/app_script.rb
rango-0.1.pre benchmarks/stubs/merb-flat/tasks/merb.thor/app_script.rb
rango-0.1.pre benchmarks/stubs/merb-app/tasks/merb.thor/app_script.rb