Bundler
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.)
This commit is contained in:
parent
399bd0d5a4
commit
4bf2e0d944
922 changed files with 71577 additions and 7055 deletions
21
vendor/plugins/bundler/bin/bundle
vendored
Executable file
21
vendor/plugins/bundler/bin/bundle
vendored
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/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'
|
||||
Gem.use_paths File.join(File.dirname(File.dirname(__FILE__))), Gem.path
|
||||
Gem.refresh
|
||||
|
||||
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)
|
Loading…
Add table
Add a link
Reference in a new issue