Sha256: 9c9918c7ca9c029251aa7f91c4f7a0c66bb0f62d81c640ef08cdba6eae1e69d8
Contents?: true
Size: 418 Bytes
Versions: 1
Compression:
Stored size: 418 Bytes
Contents
module Spring; end module Spring::Commands; end class Spring::Commands::RailsServer def env(*) "development" end def command_name "rails" end def exec_name "rails" end def gem_name "rails" end def call ARGV.unshift("server") load Dir.glob(::Rails.root.join("{bin,script}/rails")).first end end Spring.register_command "rails_server", Spring::Commands::RailsServer.new
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spring-commands-rails_server-0.0.0 | lib/spring/commands/rails_server.rb |