Running `rails s` inside spec/dummy failed #3131

Closed
mech opened this Issue Sep 26, 2011 · 4 comments

Projects

None yet

3 participants

@mech

I have an Rails Engine. If I want to start rails server inside this spec/dummy folder it give me this error (trace trap)

dummy git/master ✖ r s
=> Booting WEBrick
=> Rails 3.1.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-09-26 18:12:11] INFO  WEBrick 1.3.1
[2011-09-26 18:12:11] INFO  ruby 1.9.2 (2010-08-18) [x86_64-darwin11.0.1]
[2011-09-26 18:12:11] INFO  WEBrick::HTTPServer#start: pid=9220 port=3000

[1] 9220 trace trap rails s

Is it because I am not supposed to run rails server inside a test/dummy folder?

Update: This does not happen with sqlite3 database. But if swap with "pg" gem, the trace trap happen :(

@spastorino
Ruby on Rails member

Show us a small sample app to reproduce it

@mech

Thank Santiago, here you go

Bare mini-app-engine

https://github.com/mech/pg_cant_start

it only happen to "pg" gem :(

@arunagw
Ruby on Rails member

@mech can you please check if this issue still exists ?? Or we can close this?

@mech mech closed this Feb 14, 2012
@arunagw
Ruby on Rails member

thanks @mech :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment