Sha256: c888cb13c1f32e12950935d2b4574ac6ae8439d1e3b2bda3afc182290c5b2a75

Contents?: true

Size: 760 Bytes

Versions: 60

Compression:

Stored size: 760 Bytes

Contents

#!/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

60 entries across 60 versions & 23 rubygems

Version Path
davidtrogers-webrat-0.4.4.2 spec/integration/merb/tasks/merb.thor/app_script.rb
diabolo-webrat-0.4.4.1 spec/integration/merb/tasks/merb.thor/app_script.rb
diabolo-webrat-0.4.4.2 spec/integration/merb/tasks/merb.thor/app_script.rb
diabolo-webrat-0.4.4 spec/integration/merb/tasks/merb.thor/app_script.rb
diabolo-webrat-0.5.1 spec/integration/merb/tasks/merb.thor/app_script.rb
dstrelau-webrat-0.5.1 spec/integration/merb/tasks/merb.thor/app_script.rb
emipair-webrat-0.0.1 spec/integration/merb/tasks/merb.thor/app_script.rb
hardbap-webrat-0.5.1 spec/integration/merb/tasks/merb.thor/app_script.rb
hardbap-webrat-0.5.2 spec/integration/merb/tasks/merb.thor/app_script.rb
raldred-webrat-0.4.4.2 spec/integration/merb/tasks/merb.thor/app_script.rb
sr-webrat-0.4.4.1 spec/integration/merb/tasks/merb.thor/app_script.rb
winton-sum-0.1.0 vendor/webrat/spec/integration/merb/tasks/merb.thor/app_script.rb
winton-sum-0.1.1 vendor/webrat/spec/integration/merb/tasks/merb.thor/app_script.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/webrat-0.7.3/spec/integration/merb/tasks/merb.thor/app_script.rb
indirect-webrat-0.7.5 spec/integration/merb/tasks/merb.thor/app_script.rb
indirect-webrat-0.7.4 spec/integration/merb/tasks/merb.thor/app_script.rb
webrat-0.7.3 spec/integration/merb/tasks/merb.thor/app_script.rb
jbd-webrat-0.7.2.rails3 spec/integration/merb/tasks/merb.thor/app_script.rb
webrat-0.7.2 spec/integration/merb/tasks/merb.thor/app_script.rb
webrat-0.7.2.beta.2 spec/integration/merb/tasks/merb.thor/app_script.rb