http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu
Ohai!I'm trying to write this ppa to install ruby 1.9.3.p-294 from the brightbox ppa at:ppa:brightbox/ruby-ngwith both way, LWRP and template/execute resource one, neither works.When I run from the terminal on my ec2 server, it gets installed graciously.But why the chef-recipe way blows up every time.# LWRP wayinclude_recipe "apt"apt_repository "brightbox-ruby-ng" douri 'ppa:brightbox/ruby-ng'distribution node['lsb']['codename']components ["main"]keyserver "keyserver.ubuntu.com"key "C300EE8C"endpackage "ruby" doaction :installend# Template/Execute resource waytemplate "/etc/apt/sources.list.d/brightbox-ruby-ng-source.list" dosource "brightbox-ruby-ng-source.list.erb"notifies :run, resources(:execute => "apt-get update"), :immediatelyendpackage "ruby" doaction :installendpackage "rubygems" doaction :installend# And this is the content of the template file:deb ppa:brightbox/ruby-ng precise mainEither way shows the same error:
-------------------------------------------@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.comSent with Sparrow
Archive powered by MHonArc 2.6.16.