~vcs-imports/amahi/platform.git

« back to all changes in this revision

Viewing changes to bin/rackup

  • Committer: Carlos Puchol
  • Date: 2018-05-15 07:01:32 UTC
  • Revision ID: git-v1:f956375ceb0cfcf8644d35e328766774792cf462
update bundle, get things up to speed for f27

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env ruby
2
2
# frozen_string_literal: true
 
3
 
3
4
#
4
5
# This file was generated by Bundler.
5
6
#
11
12
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
12
13
  Pathname.new(__FILE__).realpath)
13
14
 
 
15
bundle_binstub = File.expand_path("../bundle", __FILE__)
 
16
 
 
17
if File.file?(bundle_binstub)
 
18
  if File.read(bundle_binstub, 150) =~ /This file was generated by Bundler/
 
19
    load(bundle_binstub)
 
20
  else
 
21
    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
 
22
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
 
23
  end
 
24
end
 
25
 
14
26
require "rubygems"
15
27
require "bundler/setup"
16
28