У меня есть приложение ruby в aws, которое создаст новый репозиторий в github, оно отлично работает с heroku. Но в aws журнал говорит,
Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident name (for <[email protected]>) not allowed
Puma.log
eb.activity.log
Почему пишет "/home/webapp: нет такого файла или каталога"
"git_initializer.rb"
system("echo intializing git")
`git config --global user.name soumjo&& git config --global user.email [email protected]`
`cd && touch .netrc`
`chmod 600 .netrc`
File.write(".netrc",
<<-HEREDOC
machine github.com
login soumjo
password #{ENV['github_pwd']}
HEREDOC
)
🤔 А знаете ли вы, что...
В Ruby on Rails есть встроенная поддержка для создания RESTful API.