Я пытаюсь развернуть приложение rails на сервере, используя capistrano, и в результате выполнения «cap deploy» возникает следующая ошибка:
** [out :: ny.railshoster.de] /opt/ruby-e/bin/ruby extconf.rb
** [out :: ny.railshoster.de] checking for ffi.h... no
** [out :: ny.railshoster.de] checking for ffi.h in /usr/local/include... no
** [out :: ny.railshoster.de] checking for rb_thread_blocking_region()... yes
** [out :: ny.railshoster.de] checking for ruby_native_thread_p()... yes
** [out :: ny.railshoster.de] checking for rb_thread_call_with_gvl()... yes
** [out :: ny.railshoster.de] creating extconf.h
** [out :: ny.railshoster.de] creating Makefile
** [out :: ny.railshoster.de]
** [out :: ny.railshoster.de] make
** [out :: ny.railshoster.de] Configuring libffi
** [out :: ny.railshoster.de] /home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: line 2367: sleep: command not found
** [out :: ny.railshoster.de] /etc/magic, 0: Warning: using regular magic file `/usr/share/misc/magic'
** [out :: ny.railshoster.de] file: could not find any magic files!
** [out :: ny.railshoster.de] /home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: line 7852: diff: command not found
** [out :: ny.railshoster.de] /home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: line 9721: awk: command not found
** [out :: ny.railshoster.de] /home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: line 9781: awk: command not found
** [out :: ny.railshoster.de] ./config.status: line 1274: awk: command not found
** [out :: ny.railshoster.de] config.status: error: could not create include/Makefile
** [out :: ny.railshoster.de] make: *** ["/home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi"/.libs/libffi_convenience.a] Error 1
Я надеюсь, что выдержка из командной строки не требует пояснений, но я могу предоставить любую дополнительную информацию в случае необходимости.
Заранее спасибо за любую помощь.