1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 00:36:42 +01:00

Fix the ruby bin environment

This commit is contained in:
Philipp Fischbeck 2019-02-10 21:19:18 +01:00
parent 856212f53a
commit a6b8dec199
6 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,3 @@
#!/usr/bin/env ruby.exe
#!/usr/bin/env ruby
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
load Gem.bin_path('bundler', 'bundle')

View File

@ -1,4 +1,4 @@
#!/usr/bin/env ruby.exe
#!/usr/bin/env ruby
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'

View File

@ -1,4 +1,4 @@
#!/usr/bin/env ruby.exe
#!/usr/bin/env ruby
require_relative '../config/boot'
require 'rake'
Rake.application.run

View File

@ -1,4 +1,4 @@
#!/usr/bin/env ruby.exe
#!/usr/bin/env ruby
require 'fileutils'
include FileUtils

View File

@ -1,4 +1,4 @@
#!/usr/bin/env ruby.exe
#!/usr/bin/env ruby
require 'fileutils'
include FileUtils

View File

@ -1,4 +1,4 @@
#!/usr/bin/env ruby.exe
#!/usr/bin/env ruby
APP_ROOT = File.expand_path('..', __dir__)
Dir.chdir(APP_ROOT) do
begin