Ruby 自学记录 4

https://guides.rubyonrails.org/getting_started.html
Install all those dependencies,

Ruby
SQLite3
Node.js
Yarn

The SQLite3 with Ruby bundle already installed.
Node.js already installed.If you uninstall,help yourself visit https://nodejs.org/en/
And the Yarn https://classic.yarnpkg.com/en/docs/install/#windows-stable

C:\Users\Administrator>rails new C:\Users\Administrator\RubymineProjects\demo1
       exist
   identical  README.md
   identical  Rakefile
   identical  .ruby-version
   identical  config.ru
    conflict  .gitignore
Overwrite C:/Users/Administrator/RubymineProjects/demo1/.gitignore? (enter "h" for help) [Ynaqdhm] h                            Y - yes, overwrite
        n - no, do not overwrite
        a - all, overwrite this and all others
        q - quit, abort
        d - diff, show the differences between the old and the new
        h - help, show this help
        m - merge, run merge tool
Overwrite C:/Users/Administrator/RubymineProjects/demo1/.gitignore? (enter "h" for help) [Ynaqdhm] y                           force  .gitignore
   identical  Gemfile
         run  git init from "."
Reinitialized existing Git repository in C:/Users/Administrator/RubymineProjects/demo1/.git/
   identical  package.json
       exist  app
   identical  app/assets/config/manifest.js
   identical  app/assets/stylesheets/application.css
   identical  app/channels/application_cable/channel.rb
[-/2] ⠈ waiting...                                                                                                         identical  app/controllers/application_controller.rb
   identical  app/helpers/application_helper.rb
   identical  app/javascript/channels/consumer.js
   identical  app/javascript/channels/index.js
   identical  app/javascript/packs/application.js
   identical  app/jobs/application_job.rb
   identical  app/mailers/application_mailer.rb
   identical  app/models/application_record.rb
   identical  app/views/layouts/application.html.erb
   identical  app/views/layouts/mailer.html.erb
   identical  app/views/layouts/mailer.text.erb
       exist  app/assets/images
   identical  app/assets/images/.keep
   identical  app/controllers/concerns/.keep
   identical  app/models/concerns/.keep
       exist  bin
   identical  bin/rails
   identical  bin/rake
   identical  bin/setup
   identical  bin/yarn
       exist  config
   identical  config/routes.rb
   identical  config/application.rb
   identical  config/environment.rb
   identical  config/cable.yml
   identical  config/puma.rb
   identical  config/storage.yml
       exist  config/environments
   identical  config/environments/development.rb
   identical  config/environments/production.rb
   identical  config/environments/test.rb
       exist  config/initializers
   identical  config/initializers/application_controller_renderer.rb
   identical  config/initializers/assets.rb
   identical  config/initializers/backtrace_silencers.rb
   identical  config/initializers/content_security_policy.rb
   identical  config/initializers/cookies_serializer.rb
      create  config/initializers/cors.rb
   identical  config/initializers/filter_parameter_logging.rb
   identical  config/initializers/inflections.rb
   identical  config/initializers/mime_types.rb
      create  config/initializers/new_framework_defaults_6_0.rb
   identical  config/initializers/wrap_parameters.rb
       exist  config/locales
   identical  config/locales/en.yml
      append  .gitignore
   identical  config/boot.rb
   identical  config/database.yml
       exist  db
   identical  db/seeds.rb
       exist  lib
       exist  lib/tasks
   identical  lib/tasks/.keep
       exist  lib/assets
   identical  lib/assets/.keep
       exist  log
   identical  log/.keep
       exist  public
   identical  public/404.html
   identical  public/422.html
   identical  public/500.html
   identical  public/apple-touch-icon-precomposed.png
   identical  public/apple-touch-icon.png
   identical  public/favicon.ico
   identical  public/robots.txt
       exist  tmp
   identical  tmp/.keep
       exist  tmp/pids
   identical  tmp/pids/.keep
       exist  tmp/cache
       exist  tmp/cache/assets
       exist  vendor
   identical  vendor/.keep
       exist  test/fixtures
   identical  test/fixtures/.keep
       exist  test/fixtures/files
   identical  test/fixtures/files/.keep
       exist  test/controllers
   identical  test/controllers/.keep
       exist  test/mailers
   identical  test/mailers/.keep
       exist  test/models
   identical  test/models/.keep
       exist  test/helpers
   identical  test/helpers/.keep
       exist  test/integration
   identical  test/integration/.keep
   identical  test/channels/application_cable/connection_test.rb
   identical  test/test_helper.rb
       exist  test/system
   identical  test/system/.keep
   identical  test/application_system_test_case.rb
       exist  storage
   identical  storage/.keep
       exist  tmp/storage
   identical  tmp/storage/.keep
      remove  config/initializers/cors.rb
      remove  config/initializers/new_framework_defaults_6_0.rb
         run  bundle install
Using rake 13.0.1
Using concurrent-ruby 1.1.6
Using i18n 1.8.4
Using minitest 5.14.1
Using thread_safe 0.3.6
Using tzinfo 1.2.7
Using zeitwerk 2.4.0
Using activesupport 6.0.3.2
Using builder 3.2.4
Using erubi 1.9.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.10 (x64-mingw32)
Using rails-dom-testing 2.0.3
Using crass 1.0.6
Using loofah 2.6.0
Using rails-html-sanitizer 1.3.0
Using actionview 6.0.3.2
Using rack 2.2.3
Using rack-test 1.1.0
Using actionpack 6.0.3.2
Using nio4r 2.5.2
Using websocket-extensions 0.1.5
Using websocket-driver 0.7.3
Using actioncable 6.0.3.2
Using globalid 0.4.2
Using activejob 6.0.3.2
Using activemodel 6.0.3.2
Using activerecord 6.0.3.2
Using mimemagic 0.3.5
Using marcel 0.3.3
Using activestorage 6.0.3.2
Using mini_mime 1.0.2
Using mail 2.7.1
Using actionmailbox 6.0.3.2
Using actionmailer 6.0.3.2
Using actiontext 6.0.3.2
Using public_suffix 4.0.5
Using addressable 2.7.0
Using bindex 0.8.1
Using msgpack 1.3.3 (x64-mingw32)
Using bootsnap 1.4.6
Using bundler 2.1.4
Using byebug 11.1.3
Using regexp_parser 1.7.1
Using xpath 3.2.0
Using capybara 3.33.0
Using childprocess 3.0.0
Using ffi 1.13.1 (x64-mingw32)
Using jbuilder 2.10.0
Using method_source 1.0.0
Using puma 4.3.5
Using rack-proxy 0.6.5
Using thor 1.0.1
Using railties 6.0.3.2
Using sprockets 4.0.2
Using sprockets-rails 3.2.1
Using rails 6.0.3.2
Using rubyzip 2.3.0
Using sassc 2.4.0 (x64-mingw32)
Using tilt 2.0.10
Using sassc-rails 2.1.2
Using sass-rails 6.0.0
Using selenium-webdriver 3.142.7
Using sqlite3 1.4.2
Using turbolinks-source 5.2.0
Using turbolinks 5.2.1
Using tzinfo-data 1.2020.1
Using web-console 4.0.4
Using webdrivers 4.4.1
Using webpacker 4.2.2
Bundle complete! 14 Gemfile dependencies, 70 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
         run  bundle binstubs bundler
       rails  webpacker:install
      create  config/webpacker.yml
Copying webpack core config
      create  config/webpack
      create  config/webpack/development.js
      create  config/webpack/environment.js
      create  config/webpack/production.js
      create  config/webpack/test.js
Copying postcss.config.js to app root directory
      create  postcss.config.js
Copying babel.config.js to app root directory
      create  babel.config.js
Copying .browserslistrc to app root directory
      create  .browserslistrc
The JavaScript app source directory already exists
       apply  F:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/webpacker-4.2.2/lib/install/binstubs.rb
  Copying binstubs
       exist    bin
[-/2] ⠈ waiting...                                                                                                      error C:\Users\Administrator\RubymineProjects\demo1\node_modules\node-sass: Command failed.
Exit code: 1  .gitignore
Command: node scripts/build.jsndencies [4.2.2]
Arguments: n  yarn add @rails/webpacker@4.2.2 from "."
Directory: C:\Users\Administrator\RubymineProjects\demo1\node_modules\node-sass
Output: ..\..\package.json: No license field
Building: F:\nodelts\node.exe C:\Users\Administrator\RubymineProjects\demo1\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok> request@2.88.2: request has been deprecated, see https://github.com/request/requegyp verb cli [
gyp verb cli   'F:\\nodelts\\node.exe',node-gyp > request@2.88.2: request has been deprecated, see https://github.com/regyp verb cli   'C:\\Users\\Administrator\\RubymineProjects\\demo1\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild',> webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14gyp verb cli   '--verbose',th 15x less dependencies.
gyp verb cli   '--libsass_ext=',ck > watchpack > watchpack-chokidar2 > chokidar > fsevents@1.2.13: fsevents 1 will breakgyp verb cli   '--libsass_cflags=',secure binaries. Upgrade to fsevents 2.
gyp verb cli   '--libsass_ldflags=', micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.cogyp verb cli   '--libsass_library='
gyp verb cli ]/webpacker > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://githugyp info using node-gyp@3.8.0
gyp info using node@12.16.3 | win32 | x64
gyp verb command rebuild []atform "win32" is incompatible with this module.
gyp verb command clean []an optional dependency and failed compatibility check. Excluding it from installation.
gyp verb clean removing "build" directory" is incompatible with this module.
gyp verb command configure []optional dependency and failed compatibility check. Excluding it from installation.
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (C:\Users\Administrator\RubymineProjects\demo1\node_modules\which\which.js:13:12)ode-sass
gyp verb `which` failed     at F (C:\Users\Administrator\RubymineProjects\demo1\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (C:\Users\Administrator\RubymineProjects\demo1\node_modules\which\which.js:80:29)
gyp verb `which` failed     at C:\Users\Administrator\RubymineProjects\demo1\node_modules\which\which.js:89:16
gyp verb `which` failed     at C:\Users\Administrator\RubymineProjects\demo1\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at C:\Users\Administrator\RubymineProjects\demo1\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:167:21)
gyp verb `which` failed  python2 Error: not found: python2
gyp verb `which` failed     at getNotFoundError (C:\Users\Administrator\RubymineProjects\demo1\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (C:\Users\Administrator\RubymineProjects\demo1\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (C:\Users\Administrator\RubymineProjects\demo1\node_modules\which\which.js:80:29)
gyp verb `which` failed     at C:\Users\Administrator\RubymineProjects\demo1\node_modules\which\which.js:89:16
gyp verb `which` failed     at C:\Users\Administrator\RubymineProjects\demo1\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at C:\Users\Administrator\RubymineProjects\demo1\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:167:21) {
gyp verb `which` failed   code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Python38\python.EXE
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Python38\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                       ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:303:12)
gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "F:\\nodelts\\node.exe" "C:\\Users\\Administrator\\RubymineProjects\\demo1\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\Administrator\RubymineProjects\demo1\node_modules\node-sass
gyp ERR! node -v v12.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
                                                                                                                        Installing dev server for live reloading
         run  yarn add --dev webpack-dev-server from "."
yarn add v1.22.4
warning ..\..\package.json: No license field
info No lockfile found.
[1/4] Resolving packages...
warning webpack-dev-server > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning webpack-dev-server > http-proxy-middleware > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning webpack-dev-server > http-proxy-middleware > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
[2/4] Fetching packages...
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "webpack-dev-server > webpack-dev-middleware@3.7.2" has unmet peer dependency "webpack@^4.0.0".
warning " > webpack-dev-server@3.11.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 259 new dependencies.
info Direct dependencies
├─ @rails/actioncable@6.0.3
├─ @rails/activestorage@6.0.3
├─ @rails/ujs@6.0.3
├─ turbolinks@5.2.0
└─ webpack-dev-server@3.11.0
info All dependencies
├─ @rails/actioncable@6.0.3
├─ @rails/activestorage@6.0.3
├─ @rails/ujs@6.0.3
├─ @types/glob@7.1.3
├─ @types/minimatch@3.0.3
├─ @types/node@14.0.24
├─ accepts@1.3.7
├─ ajv-errors@1.0.1
├─ ajv-keywords@3.5.1
├─ ajv@6.12.3
├─ ansi-colors@3.2.4
├─ ansi-html@0.0.7
├─ ansi-regex@4.1.0
├─ ansi-styles@3.2.1
├─ anymatch@2.0.0
├─ arr-flatten@1.1.0
├─ array-flatten@1.1.1
├─ array-union@1.0.2
├─ array-uniq@1.0.3
├─ assign-symbols@1.0.0
├─ async-each@1.0.3
├─ async-limiter@1.0.1
├─ async@2.6.3
├─ atob@2.1.2
├─ balanced-match@1.0.0
├─ base@0.11.2
├─ batch@0.6.1
├─ binary-extensions@1.13.1
├─ body-parser@1.19.0
├─ bonjour@3.5.0
├─ brace-expansion@1.1.11
├─ braces@2.3.2
├─ buffer-indexof@1.1.1
├─ cache-base@1.0.1
├─ camelcase@5.3.1
├─ chokidar@2.1.8
├─ class-utils@0.3.6
├─ cliui@5.0.0
├─ collection-visit@1.0.0
├─ color-convert@1.9.3
├─ color-name@1.1.3
├─ compressible@2.0.18
├─ compression@1.7.4
├─ concat-map@0.0.1
├─ connect-history-api-fallback@1.6.0
├─ content-disposition@0.5.3
├─ cookie-signature@1.0.6
├─ cookie@0.4.0
├─ copy-descriptor@0.1.1
├─ core-util-is@1.0.2
├─ cross-spawn@6.0.5
├─ debug@2.6.9
├─ decamelize@1.2.0
├─ decode-uri-component@0.2.0
├─ deep-equal@1.1.1
├─ default-gateway@4.2.0
├─ define-properties@1.1.3
├─ del@4.1.1
├─ destroy@1.0.4
├─ detect-node@2.0.4
├─ dns-equal@1.0.0
├─ dns-packet@1.3.1
├─ dns-txt@2.0.2
├─ ee-first@1.1.1
├─ emoji-regex@7.0.3
├─ end-of-stream@1.4.4
├─ errno@0.1.7
├─ es-to-primitive@1.2.1
├─ eventemitter3@4.0.4
├─ eventsource@1.0.7
├─ execa@1.0.0
├─ expand-brackets@2.1.4
├─ express@4.17.1
├─ extglob@2.0.4
├─ fast-deep-equal@3.1.3
├─ fast-json-stable-stringify@2.1.0
├─ faye-websocket@0.10.0
├─ fill-range@4.0.0
├─ finalhandler@1.1.2
├─ follow-redirects@1.12.1
├─ for-in@1.0.2
├─ forwarded@0.1.2
├─ fs.realpath@1.0.0
├─ get-caller-file@2.0.5
├─ get-stream@4.1.0
├─ get-value@2.0.6
├─ glob-parent@3.1.0
├─ glob@7.1.6
├─ globby@6.1.0
├─ graceful-fs@4.2.4
├─ handle-thing@2.0.1
├─ has-flag@3.0.0
├─ has-value@1.0.0
├─ has@1.0.3
├─ hpack.js@2.1.6
├─ html-entities@1.3.1
├─ http-deceiver@1.2.7
├─ http-parser-js@0.5.2
├─ http-proxy-middleware@0.19.1
├─ http-proxy@1.18.1
├─ import-local@2.0.0
├─ inflight@1.0.6
├─ inherits@2.0.4
├─ internal-ip@4.3.0
├─ ip-regex@2.1.0
├─ ip@1.1.5
├─ ipaddr.js@1.9.1
├─ is-absolute-url@3.0.3
├─ is-accessor-descriptor@1.0.0
├─ is-arguments@1.0.4
├─ is-binary-path@1.0.1
├─ is-callable@1.2.0
├─ is-data-descriptor@1.0.0
├─ is-descriptor@1.0.2
├─ is-extglob@2.1.1
├─ is-fullwidth-code-point@2.0.0
├─ is-path-cwd@2.2.0
├─ is-path-in-cwd@2.1.0
├─ is-path-inside@2.1.0
├─ is-plain-object@2.0.4
├─ is-regex@1.1.0
├─ is-stream@1.1.0
├─ is-symbol@1.0.3
├─ is-windows@1.0.2
├─ is-wsl@1.1.0
├─ isarray@1.0.0
├─ isexe@2.0.0
├─ json-schema-traverse@0.4.1
├─ json3@3.3.3
├─ killable@1.0.1
├─ kind-of@3.2.2
├─ locate-path@3.0.0
├─ lodash@4.17.19
├─ loglevel@1.6.8
├─ map-visit@1.0.0
├─ media-typer@0.3.0
├─ memory-fs@0.4.1
├─ merge-descriptors@1.0.1
├─ methods@1.1.2
├─ mime-db@1.44.0
├─ mime@2.4.6
├─ minimalistic-assert@1.0.1
├─ minimatch@3.0.4
├─ minimist@1.2.5
├─ mixin-deep@1.3.2
├─ multicast-dns-service-types@1.1.0
├─ multicast-dns@6.2.3
├─ nanomatch@1.2.13
├─ negotiator@0.6.2
├─ nice-try@1.0.5
├─ node-forge@0.9.0
├─ normalize-path@3.0.0
├─ npm-run-path@2.0.2
├─ object-assign@4.1.1
├─ object-copy@0.1.0
├─ object-inspect@1.8.0
├─ object-is@1.1.2
├─ object-keys@1.1.1
├─ object.assign@4.1.0
├─ obuf@1.1.2
├─ on-headers@1.0.2
├─ once@1.4.0
├─ opn@5.5.0
├─ original@1.0.2
├─ p-finally@1.0.0
├─ p-limit@2.3.0
├─ p-locate@3.0.0
├─ p-map@2.1.0
├─ p-retry@3.0.1
├─ p-try@2.2.0
├─ pascalcase@0.1.1
├─ path-dirname@1.0.2
├─ path-exists@3.0.0
├─ path-is-inside@1.0.2
├─ path-key@2.0.1
├─ path-to-regexp@0.1.7
├─ pify@4.0.1
├─ pinkie-promise@2.0.1
├─ pinkie@2.0.4
├─ pkg-dir@3.0.0
├─ portfinder@1.0.27
├─ posix-character-classes@0.1.1
├─ process-nextick-args@2.0.1
├─ proxy-addr@2.0.6
├─ prr@1.0.1
├─ pump@3.0.0
├─ punycode@1.3.2
├─ querystring@0.2.0
├─ querystringify@2.1.1
├─ raw-body@2.4.0
├─ readdirp@2.2.1
├─ regexp.prototype.flags@1.3.0
├─ remove-trailing-separator@1.1.0
├─ repeat-element@1.1.3
├─ require-directory@2.1.1
├─ require-main-filename@2.0.0
├─ resolve-cwd@2.0.0
├─ resolve-from@3.0.0
├─ resolve-url@0.2.1
├─ ret@0.1.15
├─ retry@0.12.0
├─ rimraf@2.7.1
├─ safe-buffer@5.1.2
├─ safer-buffer@2.1.2
├─ schema-utils@1.0.0
├─ select-hose@2.0.0
├─ selfsigned@1.10.7
├─ semver@6.3.0
├─ serve-index@1.9.1
├─ serve-static@1.14.1
├─ set-blocking@2.0.0
├─ set-value@2.0.1
├─ shebang-command@1.2.0
├─ shebang-regex@1.0.0
├─ signal-exit@3.0.3
├─ snapdragon-node@2.1.1
├─ snapdragon-util@3.0.1
├─ sockjs-client@1.4.0
├─ sockjs@0.3.20
├─ source-map-resolve@0.5.3
├─ source-map-url@0.4.0
├─ source-map@0.5.7
├─ spark-md5@3.0.1
├─ spdy-transport@3.0.0
├─ spdy@4.0.2
├─ split-string@3.1.0
├─ static-extend@0.1.2
├─ string_decoder@1.1.1
├─ string.prototype.trimend@1.0.1
├─ string.prototype.trimstart@1.0.1
├─ strip-ansi@5.2.0
├─ strip-eof@1.0.0
├─ supports-color@6.1.0
├─ thunky@1.1.0
├─ to-object-path@0.3.0
├─ to-regex-range@2.1.1
├─ turbolinks@5.2.0
├─ type-is@1.6.18
├─ union-value@1.0.1
├─ unpipe@1.0.0
├─ unset-value@1.0.0
├─ upath@1.2.0
├─ uri-js@4.2.2
├─ urix@0.1.0
├─ url@0.11.0
├─ use@3.1.1
├─ util-deprecate@1.0.2
├─ utils-merge@1.0.1
├─ uuid@3.4.0
├─ wbuf@1.7.3
├─ webpack-dev-middleware@3.7.2
├─ webpack-dev-server@3.11.0
├─ which-module@2.0.0
├─ which@1.3.1
├─ wrap-ansi@5.1.0
├─ ws@6.2.1
├─ y18n@4.0.0
├─ yargs-parser@13.1.2
└─ yargs@13.3.2
Done in 55.75s.
Webpacker successfully installed 🎉 🍰

The demo1 running after rails new C:\Users\Administrator\RubymineProjects\demo1

F:\Ruby27-x64\bin\ruby.exe C:/Users/Administrator/RubymineProjects/demo1/bin/rails server -b 127.0.0.1 -p 3000 -e production
=> Booting Puma
=> Rails 6.0.3.2 application starting in production
=> Run `rails server --help` for more startup options
*** SIGUSR2 not implemented, signal based restart unavailable!
*** SIGUSR1 not implemented, signal based restart unavailable!
*** SIGHUP not implemented, signal based logs reopening unavailable!
Puma starting in single mode...
* Version 4.3.5 (ruby 2.7.1-p83), codename: Mysterious Traveller
* Min threads: 5, max threads: 5
* Environment: production
* Listening on tcp://127.0.0.1:3000
Use Ctrl-C to stop

And OK

posted @   ukyo--碳水化合物  阅读(214)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
历史上的今天:
2018-07-22 数据库表的设计
主题色彩
人是要整活的——没活了,可不就是死了么?
点击右上角即可分享
微信分享提示