heroku create -s cedarでcedarがないと言われたときの対処法
要約
下記がうまくいかない
$heroku create -s cedar
/Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/keys.rb:19:in `read': No such file or directory - cedar (Errno::ENOENT)
解決策
herokuをgemからインストールしていたが、これをアンインストールしてherokuのサイトからツールをダウンロードしてインストール(gemのherokuの正体はよくわからないけど、rubyを使うことはなさそうなのでとりあえず)
参考にしたサイト
Play! frameworkで作ったアプリをHerokuで動かしてみた
Java がサポートされたクラウド環境 Heroku で Play!Scala を試す
環境
scala:2.8.1
play:1.2.3(scala module:0.9.1)
ruby:1.8.7
git:1.7.7.4
mac osx:10.6.8
経緯
$heroku auth:login
$play new foo --with scala
$cd foo
$play run
^C~ ...
$git init
$git add app conf lib public test
$git commit -m init
$heroku create -s cedar
Enter your Heroku credentials.
Email: [email protected]
Password:
/Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/keys.rb:19:in `read': No such file or directory - cedar (Errno::ENOENT)
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/keys.rb:19:in `add'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/command.rb:48:in `send'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/command.rb:48:in `run_internal'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/auth.rb:106:in `save_credentials'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/auth.rb:47:in `get_credentials'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/auth.rb:30:in `user'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/auth.rb:10:in `init_heroku'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/auth.rb:6:in `client'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/command.rb:48:in `send'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/command.rb:48:in `run_internal'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/base.rb:18:in `heroku'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/commands/app.rb:27:in `create'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/command.rb:48:in `send'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/command.rb:48:in `run_internal'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/lib/heroku/command.rb:20:in `run'
from /Library/Ruby/Gems/1.8/gems/heroku-1.14.6/bin/heroku:13
from /usr/bin/heroku:19:in `load'
from /usr/bin/heroku:19
Author And Source
この問題について(heroku create -s cedarでcedarがないと言われたときの対処法), 我々は、より多くの情報をここで見つけました https://qiita.com/puriketu99/items/c0ea0bffe5e347d2876f著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .