Amazon-ecs -试图访问过时的Ruby on Rails项目



我试图学习如何使用Ruby on Rails的gem, Amazon-ecs,并发现一个有点过时的项目。
链接:https://github.com/twler/amazon-ecs-sample

当我运行'rails s'时,我得到这个错误
链接:http://puu.sh/kviQy/9a70448449.png

这个错误可能是因为我必须填写键,但我不知道怎么做。

Amazon::Ecs.options = {
  :associate_tag => '[Your Associate Tag]',
  :AWS_access_key_id => '[Your Access Key ID]',       
  :AWS_secret_key => '[Your Secret Key]'
}

如何在本地主机上运行此应用程序?我如何开始在一个空的Ruby on Rails项目?

谢谢

它在我的系统中运行得很好,我刚刚克隆了这个项目:

shiva@ubuntu:~/projects/amazon-ecs-sample (master)$ rails s
Digest::Digest is deprecated; use Digest
=> Booting WEBrick
=> Rails 3.2.5 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2015-10-02 06:05:38] INFO  WEBrick 1.3.1
[2015-10-02 06:05:38] INFO  ruby 2.1.1 (2014-02-24) [x86_64-linux]
[2015-10-02 06:05:38] INFO  WEBrick::HTTPServer#start: pid=4008 port=3000

可能,您需要验证您在最近的几个提交中所做的更改。或者确保你做了bundle install

shiva@ubuntu:~/projects/amazon-ecs-sample (master)$ bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Installing rake 0.9.2.2
Installing i18n 0.6.0
Installing multi_json 1.3.6
Installing activesupport 3.2.5
Installing builder 3.0.0
Installing activemodel 3.2.5
Using erubis 2.7.0
Installing journey 1.0.3
Installing rack 1.4.1
Installing rack-cache 1.2
Installing rack-test 0.6.1
Installing hike 1.2.1
Installing tilt 1.3.3
Installing sprockets 2.1.3
Installing actionpack 3.2.5
Installing mime-types 1.18
Installing polyglot 0.3.3
Installing treetop 1.4.10
Installing mail 2.4.4
Installing actionmailer 3.2.5
Installing arel 3.0.2
Installing tzinfo 0.3.33
Installing activerecord 3.2.5
Installing activeresource 3.2.5
Installing nokogiri 1.5.4
Using ruby-hmac 0.4.0
Installing amazon-ecs 2.2.4
Installing coffee-script-source 1.3.3
Installing execjs 1.4.0
Using coffee-script 2.2.0
Installing rack-ssl 1.3.2
Installing json 1.7.3
Installing rdoc 3.12
Installing thor 0.15.2
Installing railties 3.2.5
Installing coffee-rails 3.2.2
Installing jquery-rails 2.0.2
Using bundler 1.9.2
Installing rails 3.2.5
Installing sass 3.1.19
Installing sass-rails 3.2.5
Installing sqlite3 1.3.6
Installing uglifier 1.2.4
Bundle complete! 7 Gemfile dependencies, 43 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!

最新更新