Sha256: a0cfe64ae5e2c777ba9849a8e91fdb8b8670aaae5cd8748e388b45c043b2b034
Contents?: true
Size: 861 Bytes
Versions: 6
Compression:
Stored size: 861 Bytes
Contents
#!/usr/bin/env ruby # # This file was generated by Merb's GemManagement # # The application 'rack' is installed as part of a gem, and # this file is here to facilitate running it. begin require 'minigems' rescue LoadError require 'rubygems' end # use gems dir if ../gems exists - eg. only for ./bin/rackup if File.directory?(gems_dir = File.join(File.dirname(__FILE__), '..', 'gems')) $BUNDLE = true; Gem.clear_paths; Gem.path.replace([File.expand_path(gems_dir)]) ENV["PATH"] = "#{File.dirname(__FILE__)}:#{gems_dir}/bin:#{ENV["PATH"]}" if (local_gem = Dir[File.join(gems_dir, "specifications", "rack-*.gemspec")].last) version = File.basename(local_gem)[/-([\.\d]+)\.gemspec$/, 1] end end version ||= ">= 0" if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then version = $1 ARGV.shift end gem 'rack', version load 'rackup'
Version data entries
6 entries across 6 versions & 1 rubygems