Fix shebangs. Consistentlicious!
This commit is contained in:
parent
50343b79e8
commit
f07d0e32c6
26 changed files with 27 additions and 27 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue