Sha256: f128fdf5525437a04cadbe4f0212c7306305ebcd397c99bc62dd210c17f8b573
Contents?: true
Size: 685 Bytes
Versions: 3
Compression:
Stored size: 685 Bytes
Contents
module Rack module Adapter autoload :Rails, Ebb::LIBDIR + '/rack/adapter/rails' end end module Ebb class Runner class Rails < Runner def extra_options # defaults for ebb_rails @options.update( :environment => 'development', :port => 3000 ) @parser.on("-e", "--env ENV", "Rails environment (default: development)") do |env| @options[:environment] = env end @parser.on("-c", "--chdir DIR", "RAILS_ROOT directory") do |c| @options[:root] = c end end def app(options) Rack::Adapter::Rails.new(options) end end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
willcannings-ebb-0.2.0 | ruby_lib/ebb/runner/rails.rb |
ebb-0.2.0 | ruby_lib/ebb/runner/rails.rb |
ebb-0.2.1 | ruby_lib/ebb/runner/rails.rb |