Sha256: 74cdcde6a90f98b9c7f96652ab194bfdbb401546ba35468bff74fe7308a220c2

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

module Spring
  module Client
    class Start < Command
      def self.description
        "Boot the spring server (this happens automatically when you run a command)"
      end

      def call
        # Require spring/server before bundler so that it doesn't have to be in
        # the bundle
        require "spring/server"
        require "bundler/setup"
        Spring::Server.boot
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spring-0.0.9 lib/spring/client/start.rb
spring-0.0.8 lib/spring/client/start.rb