# Webrick not showing sql queries any more?

**URL:** <https://www.ruby-forum.com/t/webrick-not-showing-sql-queries-any-more/94560>\
**Category:** Rails\
**Created:** [May 7, 2006, 7:46am UTC](https://www.ruby-forum.com/t/webrick-not-showing-sql-queries-any-more/94560 "2006-05-07T07:46:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nauhaie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/3ab097/32.png) [@nauhaie](https://www.ruby-forum.com/u/nauhaie)\
**Post date:** [May 7, 2006, 7:46am UTC](https://www.ruby-forum.com/t/webrick-not-showing-sql-queries-any-more/94560/1 "2006-05-07T07:46:13Z")

</div>

Hi all,

I updated rails to 1.1.2, and somehow, when I run script/server on a new  
rails project, I don’t see the sql queries in the console any more… It  
was very useful to see them live…

Does any one have any idea why?

Thank you very much!

Nauhaie

---

<div class="post-metadata">

**Author:** ![nauhaie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/3ab097/32.png) [@nauhaie](https://www.ruby-forum.com/u/nauhaie)\
**Post date:** [May 7, 2006, 8:28am UTC](https://www.ruby-forum.com/t/webrick-not-showing-sql-queries-any-more/94560/2 "2006-05-07T08:28:37Z")

</div>

Hey Nauhaie, when you run script/server within a rails project, it will  
run

lighttpd

If you would like to run webrick instead, you’ll need to do the  
following:

script/server webrick

Finally, if you’re wanting to see the SQL that’s get executed, then  
lighttpd  
does the job for you.

Peace,

-Conrad

---

<div class="post-metadata">

**Author:** ![nauhaie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/3ab097/32.png) [@nauhaie](https://www.ruby-forum.com/u/nauhaie)\
**Post date:** [May 7, 2006, 12:59pm UTC](https://www.ruby-forum.com/t/webrick-not-showing-sql-queries-any-more/94560/3 "2006-05-07T12:59:19Z")

</div>

Nauhaie wrote:

> Hi all,
> 
> I updated rails to 1.1.2, and somehow, when I run script/server on a new  
> rails project, I don’t see the sql queries in the console any more… It  
> was very useful to see them live…
> 
> Does any one have any idea why?
> 
> Thank you very much!
> 
> Nauhaie

You need to do tail -f log/development.log to see the SQL queries.

j`ey  
[http://eachmapinject.com](http://eachmapinject.com)

ruby -e ‘c,y=(r,s,p=%w(rock scissors  
paper))[rand(3)];d={s,{p,0,r,1},p,{r,1,s,0},r,{s,1,p,0}}  
until(y=~/(#{r}|#{s}|#{p})/);$\>\<\<“#{[r,s]_", "} #{[“or”,p]_”  
“}?\n”;y=gets.chomp;end  
$\>\<\<“You:#{y}\nComp:#{c}\n”;$\>\<\<“You  
#{d[y][c]?(d[y][c]==1?“Win”:“Lose”):“Draw”}\n”’

---

<div class="post-metadata">

**Author:** ![nauhaie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/3ab097/32.png) [@nauhaie](https://www.ruby-forum.com/u/nauhaie)\
**Post date:** [May 8, 2006, 6:33pm UTC](https://www.ruby-forum.com/t/webrick-not-showing-sql-queries-any-more/94560/4 "2006-05-08T18:33:01Z")

</div>

Thank you very much! It works perfectly 🙂

Nauhaie
