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 = 2.0.2.9216) (Gem::LoadE rror) from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:311:inact
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:ineac
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:inacti
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

Cheers,
James

On Fri, May 9, 2008 at 9:43 AM, La Ll [email protected]

On May 9, 1:13 am, La Ll [email protected] wrote:

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 = 2.0.2.9216)
(Gem::LoadE
rror)

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

Fred