Fix shebangs. Consistentlicious!
This commit is contained in:
parent
50343b79e8
commit
f07d0e32c6
2
instiki
2
instiki
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
# Executable file for a gem
|
# Executable file for a gem
|
||||||
# must be same as ./instiki.rb
|
# must be same as ./instiki.rb
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
load File.dirname(__FILE__) + '/script/server'
|
load File.dirname(__FILE__) + '/script/server'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/ruby
|
#!/usr/bin/env ruby
|
||||||
#
|
#
|
||||||
# Bluecloth is a Ruby implementation of Markdown, a text-to-HTML conversion
|
# Bluecloth is a Ruby implementation of Markdown, a text-to-HTML conversion
|
||||||
# tool.
|
# tool.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/ruby1.8
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/ruby1.8
|
#!/usr/bin/env ruby
|
||||||
#
|
#
|
||||||
# You may specify the path to the FastCGI crash log (a log of unhandled
|
# You may specify the path to the FastCGI crash log (a log of unhandled
|
||||||
# exceptions which forced the FastCGI instance to exit, great for debugging)
|
# exceptions which forced the FastCGI instance to exit, great for debugging)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!e:/ruby/bin/ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/ruby1.8
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
if ARGV.empty?
|
if ARGV.empty?
|
||||||
puts "Usage: benchmarker times 'Person.expensive_way' 'Person.another_expensive_way' ..."
|
puts "Usage: benchmarker times 'Person.expensive_way' 'Person.another_expensive_way' ..."
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!e:/ruby/bin/ruby
|
#!/usr/bin/env ruby
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require_gem 'rails'
|
require_gem 'rails'
|
||||||
require 'breakpoint_client'
|
require 'breakpoint_client'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/ruby
|
#!/usr/bin/env ruby
|
||||||
irb = RUBY_PLATFORM =~ /mswin32/ ? 'irb.bat' : 'irb'
|
irb = RUBY_PLATFORM =~ /mswin32/ ? 'irb.bat' : 'irb'
|
||||||
|
|
||||||
require 'optparse'
|
require 'optparse'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/ruby1.8
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/environment'
|
require File.dirname(__FILE__) + '/../config/environment'
|
||||||
require 'rails_generator'
|
require 'rails_generator'
|
||||||
require 'rails_generator/scripts/destroy'
|
require 'rails_generator/scripts/destroy'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/ruby1.8
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/environment'
|
require File.dirname(__FILE__) + '/../config/environment'
|
||||||
require 'rails_generator'
|
require 'rails_generator'
|
||||||
require 'rails_generator/scripts/generate'
|
require 'rails_generator/scripts/generate'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/ruby1.8
|
#!/usr/bin/env ruby
|
||||||
if ARGV.empty?
|
if ARGV.empty?
|
||||||
$stderr.puts "Usage: profiler 'Person.expensive_method(10)' [times]"
|
$stderr.puts "Usage: profiler 'Person.expensive_method(10)' [times]"
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/ruby1.8
|
#!/usr/bin/env ruby
|
||||||
require 'optparse'
|
require 'optparse'
|
||||||
|
|
||||||
options = { :environment => "development" }
|
options = { :environment => "development" }
|
||||||
|
@ -23,7 +23,7 @@ end
|
||||||
|
|
||||||
ENV["RAILS_ENV"] = options[:environment]
|
ENV["RAILS_ENV"] = options[:environment]
|
||||||
|
|
||||||
#!/usr/local/bin/ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../config/environment'
|
require File.dirname(__FILE__) + '/../config/environment'
|
||||||
eval(ARGV.first)
|
eval(ARGV.first)
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require 'webrick'
|
require 'webrick'
|
||||||
require 'optparse'
|
require 'optparse'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
||||||
require 'admin_controller'
|
require 'admin_controller'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../test_helper'
|
require File.dirname(__FILE__) + '/../test_helper'
|
||||||
require 'file_controller'
|
require 'file_controller'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../test_helper'
|
require File.dirname(__FILE__) + '/../test_helper'
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
# Uncomment the line below to enable pdflatex tests; don't forget to comment them again
|
# Uncomment the line below to enable pdflatex tests; don't forget to comment them again
|
||||||
# commiting to SVN
|
# commiting to SVN
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../../test_helper'
|
require File.dirname(__FILE__) + '/../../test_helper'
|
||||||
require 'chunks/category'
|
require 'chunks/category'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../../test_helper'
|
require File.dirname(__FILE__) + '/../../test_helper'
|
||||||
require 'chunks/nowiki'
|
require 'chunks/nowiki'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../../test_helper'
|
require File.dirname(__FILE__) + '/../../test_helper'
|
||||||
require 'chunks/wiki'
|
require 'chunks/wiki'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
||||||
require 'diff'
|
require 'diff'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../test_helper'
|
require File.dirname(__FILE__) + '/../test_helper'
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../test_helper'
|
require File.dirname(__FILE__) + '/../test_helper'
|
||||||
require 'redcloth_for_tex'
|
require 'redcloth_for_tex'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.dirname(__FILE__) + '/../test_helper'
|
require File.dirname(__FILE__) + '/../test_helper'
|
||||||
require 'chunks/uri'
|
require 'chunks/uri'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
||||||
require 'wiki_words'
|
require 'wiki_words'
|
||||||
|
|
Loading…
Reference in a new issue