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

bin/goldberg start broken #71

Closed
apolzon opened this issue Jun 3, 2011 · 6 comments
Closed

bin/goldberg start broken #71

apolzon opened this issue Jun 3, 2011 · 6 comments
Labels
Milestone

Comments

@apolzon
Copy link

apolzon commented Jun 3, 2011

Really enjoying this terrific build server yall have been kind enough to release.

Following the setup instructions in the README, I was able to get the server up and working by using rails s to boot Goldberg. If I boot it using bin/goldberg start, pages either never load, or errors are thrown (undefined method clear_active_connections! and an error related to page_cache).

I've tried editing the start script to explicitly use the mongrel server, which is what rails s would use, but it hasn't made any difference. Additionally, the server will sometimes flat-out fail when trying to boot, which results in a goldberg.pid file which must be removed by hand as the stop script doesn't delete it if the process is not found.

Thanks!

OS: Snow Leopard
Using RVM, ruby-1.9.2-p180

@srushti
Copy link
Owner

srushti commented Jun 3, 2011

Thanks, we appreciate the compliment, and I agree it's a terrific build server.
I'll take a look at the start issue and get back to you. To be honest, I've been doing most of my testing using rails s since it helps to look at the server output, and it's possible a bug snuck in. I'll let you know if I can reproduce it.

@ghost ghost assigned achamian Jun 3, 2011
@achamian
Copy link
Contributor

achamian commented Jun 5, 2011

I am still looking into the issue

@srushti
Copy link
Owner

srushti commented Jun 5, 2011

Would it make sense to switch the daemonising of start off? It'll basically start like a normal rails s. At least until we fix this issue.

@achamian
Copy link
Contributor

achamian commented Jun 6, 2011

starting rails server in development environment and daemon mode fails.

This is due to

Thread.start{Init.new.start_poller} if Rails.env == 'development'

I am still working on figuring out, why starting a new thread should make the daemon fail. In the mean while I have removed bin/goldberg start/stop falling back to 'rails server'

@lucasefe
Copy link
Contributor

I have the same problem. Please, keep me posted!

Lucas

@srushti
Copy link
Owner

srushti commented Jul 30, 2012

We never updated this ticket. But, we've switched to suggesting you use the "rails s" command when we wish to start the server. 5650ad4

@srushti srushti closed this as completed Jul 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants