srushti / goldberg

Goldberg is a lightweight CI server written in Ruby which worries about Bundler & RVM so that you don't have to.
Other
243 stars 29 forks source link

bin/goldberg start broken #71

Closed apolzon closed 11 years ago

apolzon commented 13 years ago

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 commented 13 years ago

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.

achamian commented 13 years ago

I am still looking into the issue

srushti commented 13 years ago

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 commented 13 years ago

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 commented 13 years ago

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

Lucas

srushti commented 11 years ago

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