Just try to "http://localhost:3000/"; after starting the webrick server.

:-(

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of kannav rajeev
Sent: Wednesday, July 21, 2010 12:37 PM
To: [email protected]
Subject: Re: [Rails] Please help --> Getting error ERROR NoMethodError: private 
method `gsub!' called for #<Class:0x47a8e38>

Write the code here pleZse

On Wed, Jul 21, 2010 at 12:09 PM, Sony Thomas <[email protected]> wrote:
> [2010-07-21 11:35:18] ERROR NoMethodError: private method `gsub!'
> called for #<Class:0x47a8e38>
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/htmlutils.rb:16:in
> `escape'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/httpresponse.rb:232:in
> `set_error'
>        C:/Applns/Ruby187/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/
> webrick_server.rb:94:in `handle_file'
>        C:/Applns/Ruby187/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/
> webrick_server.rb:73:in `service'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:104:in
> `service'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:65:in
> `run'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/server.rb:173:in
> `start_thread'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in
> `start'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in
> `start_thread'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/server.rb:95:in `start'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `each'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `start'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/server.rb:23:in `start'
>        C:/Applns/Ruby187/lib/ruby/1.8/webrick/server.rb:82:in `start'
>        C:/Applns/Ruby187/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/
> webrick_server.rb:60:in `dispatch'
>        C:/Applns/Ruby187/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/
> commands/servers/webrick.rb:66
>        C:/Applns/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:31:in `gem_original_require'
>        C:/Applns/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:31:in `require'
>        C:/Applns/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.2.3/
> lib/active_support/dependencies.rb:153:in
>  `require'
>        C:/Applns/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.2.3/
> lib/active_support/dependencies.rb:521:in
>  `new_constants_in'
>        C:/Applns/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.2.3/
> lib/active_support/dependencies.rb:153:in
>  `require'
>        C:/Applns/Ruby187/lib/ruby/gems/1.8/gems/rails-2.2.3/lib/
> commands/server.rb:49
>        C:/Applns/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:31:in `gem_original_require'
>        C:/Applns/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:31:in `require'
>        script/server:3
> 127.0.0.1 - - [21/Jul/2010:11:35:18 India Standard Time] "GET / HTTP/
> 1.1" 500 338
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>



-- 
Thanks:
Rajeev sharma

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to