1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/bin/rails
Scott Taylor 4bfff05f37 add missing shebang to rails bin. LH [ state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-06-19 00:54:42 -07:00

9 lines
187 B
Ruby
Executable file

#!/usr/bin/env ruby
begin
require "rails/cli"
rescue LoadError
railties_path = File.expand_path('../../railties/lib', __FILE__)
$:.unshift(railties_path)
require "rails/cli"
end