Sha256: 378aed44a7425be87ada8f3f68affcb0382260bd1073653375bd92742e266f30

Contents?: true

Size: 888 Bytes

Versions: 6

Compression:

Stored size: 888 Bytes

Contents

#!/usr/bin/env ruby
#
# This file was generated by Merb's GemManagement
#
# The application 'json_pure' 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/edit_json.rb
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", "json_pure-*.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 'json_pure', version
load 'edit_json.rb'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
merb-core-1.1.3 spec10/public/webrat/test_app/bin/edit_json.rb
merb-core-1.1.2 spec10/public/webrat/test_app/bin/edit_json.rb
merb-core-1.1.1 spec10/public/webrat/test_app/bin/edit_json.rb
merb-core-1.1.0 spec10/public/webrat/test_app/bin/edit_json.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/bin/edit_json.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/bin/edit_json.rb