blob: a946d1a08a1a0d146c598439d25c08b80c3f8391 (
plain) (
tree)
|
|
#!/usr/local/bin/ruby
ENV['RAILS_ENV'] = ARGV[0] || 'development'
puts "Loading environment: #{ENV['RAILS_ENV']}"
irb = RUBY_PLATFORM =~ /mswin32/ ? 'irb.bat' : 'irb'
exec "#{irb} -r config/environment.rb -r irb/completion"
|