passenger 1.8.7

1 view
Skip to first unread message

Matthew Conway

unread,
Oct 5, 2009, 12:11:04 AM10/5/09
to rubbe...@googlegroups.com

-- From wmm on github:

Hi, I've figured out the culprit with zerigo and now the rubber is awesome.
But some concerns in my head.
* How to use the deployment with github? I can setup the repos and modify the deploy.rb file. The only concern is do I've have to ssh to ec2 instance, generate the ssh keys and put it in github ssh keys? or is there already out-of-the-box support for it by just changing the deploy.rb github/git section?

• In config/rubber/deploy-setup.rb file, there is this section:
        # preferences to pick up specific Ruby packages from brightbox
prefs = << /etc/apt/sources.list.d/brightbox-rubyee.list
          ENDSCRIPT 

How can I make it to install the newly released version of REE 1.8.7 coz currently it installs 1.8.6?-- end

-- end


You were on the right track, If you want to use REE 1.8.7 edit config/rubber/deploy-setup.rb and change the code in the task:

        task :_install_enterprise_ruby, :hosts => ent_ruby_hosts do
...
        end

to be

        task :_install_enterprise_ruby, :hosts => ent_ruby_hosts do
          custom_package('http://rubyforge.org/frs/download.php/64479', 'ruby-enterprise', '1.8.7-20090928', '! `ruby --version 2> /dev/null` =~ "Ruby Enterprise Edition 20090928"')
        end

custom_package is a helper method that fetches and installs the right dpkg for the platform (32/64)  if it is not already there.

You'll also need to change the paths in config/rubber/role/passenger/passenger.conf  (/usr/local/ instead of /usr/) as the new REE seems to have caused ruby/passenger to install in a different path.

I'll publish another gem once I make these changes, but it might be a few days.

Matt

Reply all
Reply to author
Forward
0 new messages