我一直在关注这个 railscast,通过橡胶将我的 rails 应用程序部署到 Amazon EC2:http ://railscasts.com/episodes/347-rubber-and-amazon-ec2
我到了在终端中输入这个的地步:
cap deploy:cold
然后我收到以下错误:
** [out :: web01.foo.com] rake aborted!
** [out :: web01.foo.com]
** [out :: web01.foo.com] Could not open library 'libcurl': libcurl: cannot open shared object file: No such file or directory.
** [out :: web01.foo.com] Could not open library 'libcurl.so': libcurl.so: cannot open shared object file: No such file or directory
** [out :: web01.foo.com]
** [out :: web01.foo.com]
** [out :: web01.foo.com] (See full trace by running task with --trace)
** [out :: web01.foo.com]
command finished in 4322ms
failed: "/bin/bash -l -c 'cd /mnt/sample_app-production/releases/20120905210248 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile'" on web01.foo.com
我认为问题与“libcurl”有关。我该如何安装?