0

インボーカーgemとProcfileを使用してプロセスを開始するRailsアプリに基づいてtutsを実行しようとしています(appとsidekiqでした)

を使用して、コンソール (OS X - bash) から Rails アプリを起動します。

bundle exec invoker start Procfile --port 3000 

プロファイルは次のとおりです。

web: bundle exec rails server -p $PORT
worker: bundle exec sidekiq -c 1 -v

しかし、それはエラーを発生させます:

~/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/iniparse-1.1.6/lib/iniparse/parser.rb:65:in `parse_line': A line of your INI document could not be parsed to a LineType: 'web: bundle exec rails server -p $PORT'. (IniParse::ParseError)

rails server -p 3000 で Web アプリを直接起動できますが、 Procfile の何が問題なのですか?

啓蒙をありがとう...

4

1 に答える 1