Skip to content
Snippets Groups Projects

Fix FTBFS in Debian unstable

All threads resolved!
4 files
+ 197
73
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 0
70
--- a/src/api/bin/bundle
+++ b/src/api/bin/bundle
@@ -1,3 +1,3 @@
-#!/usr/bin/env ruby2.3
+#!/usr/bin/ruby
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
load Gem.bin_path('bundler', 'bundle')
--- a/src/api/bin/rails
+++ b/src/api/bin/rails
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby2.3
+#!/usr/bin/ruby
APP_PATH = File.expand_path('../../config/application', __FILE__)
require_relative '../config/boot'
require 'rails/commands'
--- a/src/api/bin/rake
+++ b/src/api/bin/rake
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby2.3
+#!/usr/bin/ruby
require_relative '../config/boot'
require 'rake'
Rake.application.run
--- a/src/api/script/check_database
+++ b/src/api/script/check_database
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby2.3
+#!/usr/bin/ruby
require File.dirname(__FILE__) + '/../config/boot'
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
--- a/src/api/script/delayed_job.api.rb
+++ b/src/api/script/delayed_job.api.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby2.3
+#!/usr/bin/ruby
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
require 'delayed/command'
--- a/src/api/script/import
+++ b/src/api/script/import
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby2.3
+#!/usr/bin/ruby
require File.dirname(__FILE__) + '/../config/boot'
# set this to true if you want to create users that appear in metafiles
--- a/src/api/script/plugin
+++ b/src/api/script/plugin
@@ -1,3 +1,3 @@
-#!/usr/bin/env ruby2.3
+#!/usr/bin/ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/plugin'
--- a/src/api/script/reformat_memprof
+++ b/src/api/script/reformat_memprof
@@ -1,4 +1,4 @@
-#! /usr/bin/ruby2.3
+#! /usr/bin/ruby
require 'rubygems'
require 'json'
--- a/src/api/script/start_test_backend
+++ b/src/api/script/start_test_backend
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby2.3
+#!/usr/bin/ruby
ENV['RAILS_ENV'] ||= 'test'
ENV['origin_RAILS_ENV'] ||= ENV['RAILS_ENV']
ENV['LC_ALL'] = 'C'
Loading