Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gopivignesh opened this issue Jan 22, 2014 · 1 comment

Comments

@gopivignesh
Copy link

When I execute the following command,

"divergence start"

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

@gopivignesh
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant