Getting an error when trying to create a new application..

I'm new to Ruby/Ruby on Rails. I'm trying to create an application and am getting this error:

C:\InstantRails\rails_apps>rails demo C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:379:in `report_activate_ error': RubyGem version error: activesupport(2.0.2 not = (Gem::LoadE rror)         from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:311:in `act ivate'         from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:337:in `act ivate'         from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:336:in `eac h'         from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:336:in `act ivate'         from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:65:in `acti ve_gem_with_options'         from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:50:in `gem'

        from C:/InstantRails/ruby/bin/rails:18

How do I fix this?

You’re missing activesupport, try:

gem install rails

again (I rememember a while back needing to do this twice to make sure activesupport was pulled in), otherwise:

gem install activesupport



You've accidentally (probably due to boneheaded aptana) installed edge rails gems. Remove gems with versions like, and then run gem sources -r to make sure you don't get them again.