mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Merge pull request #78 from projekteuler/fix-bin-ruby
Fix the ruby bin environment
This commit is contained in:
commit
01151e66b4
@ -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')
|
||||
|
||||
@ -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'
|
||||
|
||||
2
bin/rake
2
bin/rake
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env ruby.exe
|
||||
#!/usr/bin/env ruby
|
||||
require_relative '../config/boot'
|
||||
require 'rake'
|
||||
Rake.application.run
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env ruby.exe
|
||||
#!/usr/bin/env ruby
|
||||
require 'fileutils'
|
||||
include FileUtils
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env ruby.exe
|
||||
#!/usr/bin/env ruby
|
||||
require 'fileutils'
|
||||
include FileUtils
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user