divergence icon indicating copy to clipboard operation
divergence copied to clipboard

It says, "configuration /root/rubygems-1.3.5/config/config.ru not found"

Open gopivignesh opened this issue 11 years ago • 1 comments

When I execute the following command,

"divergence start"

I get the following error, /root/rubygems-1.3.5/config/config.ru not found

gopivignesh avatar Jan 22 '14 18:01 gopivignesh

My configuration file looks like,

require File.expand_path('../callbacks', FILE)

Divergence::Application.configure do |config| config.git_path = "/var/www/project.com/" # Change this to the git repository path config.app_path = "/var/www/project.com/drupal-6.19/" # and this to your application's path. config.cache_path = nil # This should be an empty directory

The number of branches to cache for quick switching. If you're

switching around between many branches frequently, you might

want to raise this. Keep in mind that each cached branch will

have it's own Passenger instance, so don't get too carried away.

config.cache_num = 5

config.callbacks :after_swap do restart_passenger end

config.callbacks :after_cache, :after_webhook do bundle_install :path => "vendor/bundle" end

config.forward_host = 'localhost' config.forward_port = 80

config.callbacks :on_branch_discover do |subdomain| case subdomain when "dev" "branch_dev" when "beta" "branch_beta" end

end

gopivignesh avatar Jan 22 '14 18:01 gopivignesh