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
|
||||
# must be same as ./instiki.rb
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
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
|
||||
# tool.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/ruby1.8
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
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
|
||||
# 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)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/ruby1.8
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
if ARGV.empty?
|
||||
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_gem 'rails'
|
||||
require 'breakpoint_client'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/local/bin/ruby
|
||||
#!/usr/bin/env ruby
|
||||
irb = RUBY_PLATFORM =~ /mswin32/ ? 'irb.bat' : 'irb'
|
||||
|
||||
require 'optparse'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/ruby1.8
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/environment'
|
||||
require 'rails_generator'
|
||||
require 'rails_generator/scripts/destroy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/ruby1.8
|
||||
#!/usr/bin/env ruby
|
||||
require File.dirname(__FILE__) + '/../config/environment'
|
||||
require 'rails_generator'
|
||||
require 'rails_generator/scripts/generate'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/ruby1.8
|
||||
#!/usr/bin/env ruby
|
||||
if ARGV.empty?
|
||||
$stderr.puts "Usage: profiler 'Person.expensive_method(10)' [times]"
|
||||
exit(1)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/ruby1.8
|
||||
#!/usr/bin/env ruby
|
||||
require 'optparse'
|
||||
|
||||
options = { :environment => "development" }
|
||||
|
@ -23,7 +23,7 @@ end
|
|||
|
||||
ENV["RAILS_ENV"] = options[:environment]
|
||||
|
||||
#!/usr/local/bin/ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../config/environment'
|
||||
eval(ARGV.first)
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/local/bin/ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require 'webrick'
|
||||
require 'optparse'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
||||
require 'admin_controller'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'file_controller'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
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
|
||||
# commiting to SVN
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../../test_helper'
|
||||
require 'chunks/category'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../../test_helper'
|
||||
require 'chunks/nowiki'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../../test_helper'
|
||||
require 'chunks/wiki'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
||||
require 'diff'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'fileutils'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'redcloth_for_tex'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'chunks/uri'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
|
||||
require 'wiki_words'
|
||||
|
|
Loading…
Reference in a new issue