4bf2e0d944
Remove the vendored sqlite3-ruby. Instead, add support for Bundler (which is vendored). Before running the new Instiki, do a ruby bundle which will install all of the needed gems locally. (If you need to, tweak the contents of Gemfile.)
22 lines
548 B
Ruby
Executable file
22 lines
548 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
#
|
|
# This file was generated by RubyGems.
|
|
#
|
|
# The application 'bundler' is installed as part of a gem, and
|
|
# this file is here to facilitate running it.
|
|
#
|
|
|
|
require 'rubygems'
|
|
vend = File.join(File.dirname(__FILE__), 'vendor')
|
|
Gem.use_paths File.join(vend, 'bundle', File.basename(Gem.dir)), (Gem.path + [File.join(vend, 'plugins', 'bundler')])
|
|
|
|
version = ">= 0"
|
|
|
|
if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
|
|
version = $1
|
|
ARGV.shift
|
|
end
|
|
|
|
gem 'bundler', version
|
|
load Gem.bin_path('bundler', 'bundle', version)
|