我在我的application.yml中设置端口为3000(figaro管理env变量)
rails s使用端口3000但是当我运行时foreman start(按照Heroku的推荐)我得到以下输出
14:53:23 web.1 | started with pid 24425
14:53:23 web.1 | [24425] Puma starting in cluster mode...
14:53:23 web.1 | [24425] * Version 2.11.1 (ruby 2.2.0-p0), codename: Intrepid Squirrel
14:53:23 web.1 | [24425] * Min threads: 5, max threads: 5
14:53:23 web.1 | [24425] * Environment: development
14:53:23 web.1 | [24425] * Process workers: 2
14:53:23 web.1 | [24425] * Preloading application
14:53:24 web.1 | WARNING: Skipping key "PORT". Already set in ENV.
14:53:25 …Run Code Online (Sandbox Code Playgroud) 按照本指南操作但无法安装 cfdisk。
sudo apt-get install cfdisk
回报
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cfdisk
Run Code Online (Sandbox Code Playgroud)
RPi 型号 B,运行 Raspbian
apt-get ×1
command-line ×1
debian ×1
foreman ×1
heroku ×1
puma ×1
raspberry-pi ×1
raspbian ×1
ruby ×1