[chef] Re: Re: Rails 3 and ruby 1.9.2 application with chef


Chronological Thread 
  • From: Daniel Cukier < >
  • To:
  • Subject: [chef] Re: Re: Rails 3 and ruby 1.9.2 application with chef
  • Date: Tue, 24 Apr 2012 22:23:47 -0300

Hi Wes! Thanks for you answer.

How to configure chef to use ruby 1.9.3 instead of 1.8.7?

On Tue, Apr 24, 2012 at 6:32 PM, Wes Morgan < " target="_blank"> > wrote:

On Apr 24, 2012, at 3:21 PM, Daniel Cukier wrote:

I have some questions about chef and Rails3 applications:

1 - What is the best way to create a Rails 3 application server using chef?

We've tried to use the application cookbook (https://github.com/opscode/cookbooks/tree/master/application), but it is not working. It creates the application in the rightdirectory, and it runs unicorn and listen on port 8080, but when I try to access it, it doesnt respond.

2 - As Rails 3 requires ruby >=1.9.2, how to configure the application cookbook to use it?

Rails 3 requires ruby >= 1.8.7. So you don't strictly *need* 1.9.2. But if you can, I would recommend using 1.9.2 (1.9.3 is even better).



3 - Is there any other working cookbook to use instead of application?


Thanks a lot

Daniel Cukier





--
Daniel Cukier
Software Artist
+55 11 9991-3913




Archive powered by MHonArc 2.6.16.

§