Hi all,

I am new to ruby and trying to install rails but I encounter some 
difficulties. I get an error while installing actionmailer. Here is what I 
get:


$ gem install actionmailer
Attempting local installation of 'actionmailer'
Local gem file not found: actionmailer*.gem
Attempting remote installation of 'actionmailer'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:26:in `require': No 
such file to load -- action_controller (LoadError)
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:163:in `activate'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:34:in `require_gem'
        from /usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:450:in 
`find_dependencies_not_installed'
        from /usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:448:in 
`each'
        from /usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:448:in 
`find_dependencies_not_installed'
        from /usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:364:in 
`install'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:164:in 
`execute'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:129:in 
`each'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:129:in 
`execute'
        from /usr/local/lib/site_ruby/1.8/rubygems/command.rb:49:in `invoke'
        from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:90:in 
`process_args'
        from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:63:in `run'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:9:in `run'
        from /usr/bin/gem:11


knowing that:


$ gem query --local

*** LOCAL GEMS ***

actionpack (1.3.1)
    Web-flow and rendering framework putting the VC in MVC.

activerecord (1.5.1)
    Implements the ActiveRecord pattern for ORM.

rake (0.4.15)
    Ruby based make-like utility.

sources (0.0.1)
    This package provides download sources for remote gem installation


Can somebody help me with this?

Thanks,

Ghislain