Hey,

restart or use the line which others alreay gave you:
"rails server -p 3001"
because it 'll start your server on another port which is not in use
yet.

If you're beginner try these sources:
http://guides.rubyonrails.org/
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book

You can browse almost all problems which you'll have using:
Google
http://stackoverflow.com/
http://serverfault.com/
just use the tags.

Also you may have problem with Gem dependencies. You can find all gems
you need here:
https://rubygems.org/
check 'gem list' to see your gems, and you can use "gem update
<gemname> to update any gem. For example 'gem list mongrel' and 'gem
update mongrel' may help you.

On Unix based system definitely use Ruby Version manager. I think on
Win there is smthg similar (tak?).

Good luck,
Zoli

On Mar 14, 11:10 pm, Manny 777 <[email protected]> wrote:
> Thanks guys for your hints, I tried to restart PC and started rails
> server again. But I got more errors:
>
> => Booting Mongrel
> => Rails 3.0.5 application starting in development onhttp://0.0.0.0:3001
> => Call with -d to detach
> => Ctrl-C to shutdown server
> Mon Mar 14 23:07:16 +0100 2011: Read error: #<NameError: uninitialized
> constant ActiveSupport::Dependencies>
> /Library/Ruby/Gems/1.8/gems/actionpack-3.0.5/lib/action_dispatch/middleware 
> /stack.rb:9:in
> `initialize'
> /Library/Ruby/Gems/1.8/gems/actionpack-3.0.5/lib/action_dispatch/middleware 
> /stack.rb:67:in
> `new'
> /Library/Ruby/Gems/1.8/gems/actionpack-3.0.5/lib/action_dispatch/middleware 
> /stack.rb:67:in
> `use'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/application.rb:190:in
> `default_middleware_stack'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/application.rb:189:in
> `tap'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/application.rb:189:in
> `default_middleware_stack'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/application.rb:161:in
> `app'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/application.rb:168:in
> `call'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/application.rb:77:in
> `send'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/application.rb:77:in
> `method_missing'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/rack/log_tailer.rb:14: in
> `call'
> /Library/Ruby/Gems/1.8/gems/rack-1.2.1/lib/rack/content_length.rb:13:in
> `call'
> /Library/Ruby/Gems/1.8/gems/rack-1.2.1/lib/rack/chunked.rb:15:in `call'
> /Library/Ruby/Gems/1.8/gems/rack-1.2.1/lib/rack/handler/mongrel.rb:67:in
> `process'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
> `process_client'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
> `each'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
> `process_client'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `run'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `initialize'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `new'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `run'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `initialize'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `new'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1. 
> 8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `run'
> /Library/Ruby/Gems/1.8/gems/rack-1.2.1/lib/rack/handler/mongrel.rb:38:in
> `run'
> /Library/Ruby/Gems/1.8/gems/rack-1.2.1/lib/rack/server.rb:213:in `start'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/commands/server.rb:65: in
> `start'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/commands.rb:30
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/commands.rb:27:in
> `tap'
> /Library/Ruby/Gems/1.8/gems/railties-3.0.5/lib/rails/commands.rb:27
> /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in
> `gem_original_require'
> /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in `require'
> script/rails:6
>
> It looks perhaps on the biggest problem :/
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
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