David Furber wrote in post #950429:
> Have you installed the required gems on the server?

I think I found out that the database.yml was renamed and after running
again the script server. I got another error again sir.



C:\InstantRails-2.2-win\rails_apps\crm2>ruby script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.2.0 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
C:/InstantRails-2.2-win/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:223:in
`activate
': undefined method `map' for nil:NilClass (NoMethodError)
        from
C:/InstantRails-2.2-win/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:249
:in `activate'
        from
C:/InstantRails-2.2-win/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:248
:in `each'
        from
C:/InstantRails-2.2-win/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:248
:in `activate'
        from
C:/InstantRails-2.2-win/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:108
2:in `gem'
        from
./script/../config/../vendor/rails/railties/lib/rails/gem_dependenc
y.rb:65:in `add_load_paths'
        from
./script/../config/../vendor/rails/railties/lib/initializer.rb:272:
in `add_gem_load_paths'
        from
./script/../config/../vendor/rails/railties/lib/initializer.rb:272:
in `each'
        from
./script/../config/../vendor/rails/railties/lib/initializer.rb:272:
in `add_gem_load_paths'
         ... 30 levels...
        from
C:/InstantRails-2.2-win/rails_apps/crm2/vendor/rails/railties/lib/c
ommands/server.rb:49
        from
C:/InstantRails-2.2-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom
_require.rb:31:in `gem_original_require'
        from
C:/InstantRails-2.2-win/ruby/lib/ruby/site_ruby/1.8/rubygems/custom
_require.rb:31:in `require'
        from script/server:3

C:\InstantRails-2.2-win\rails_apps\crm2>rake db:migrate
(in C:/InstantRails-2.2-win/rails_apps/crm2)
rake aborted!
undefined method `map' for nil:NilClass

(See full trace by running task with --trace)


Thanks again sir

-- 
Posted via http://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