Installation Error?

Hi,
When I tried to install gems, I got the following error:
ERROR: While executing gem …Errno::EACCES
Permission denied - ruby/1.9.1/drb

and when I tried gem install rails, I got

ERROR: Error installing rails:
rails requires activesupport <=2.2.3, runtime>

what am I doing wrong?

Thanks!

What version of ruby are you running and what OS are you on?

B.

I’m using windows XP, and ruby is version 1.9.2

You need to be an administrator on your Windows machine to install a
gem.
Are you an admin on your Windows system?

On Mar 1, 4:47pm, Gaba L. [email protected] wrote:

what am I doing wrong?

Can you reproduce the entire message of the error?

Also, please include the output of “gem env” command so we can see the
directories were it tries to place files.

If you installed Ruby using administrative privileges on Windows, you
need to open a command prompt with the same level of privileges for
gems to install properly.


Luis L.

When you say I must be an administrator - how do I check if I’m an
administrator or have the privileges to install gem?

Thanks!

On Wed, Mar 2, 2011 at 10:19 AM, Gaba L. [email protected]
wrote:

When you say I must be an administrator - how do I check if I’m an
administrator or have the privileges to install gem?

Start->Control Panel->User Accounts->click Advanced
Tab->Advanced->Select
Groups->double click Administartors. You should see your name in that
list.

B.

When I do gem env, I get

RubyGems Environment:
-RUBYGEMS VERSION: 1.5.2

  • RUBY VERSION: 1.9.2 <2011-02-18 patchlevel 180>> [i386-mingw32]
  • INSTALLATION DIRECTORY: C:/Ruby192/lib/ruby/gems/1.9.1
  • RUBY EXECUTABLE: C:/Ruby192/bin/ruby.exe
  • EXECUTABLE DIRECTORY: C:/Ruby192/bin
  • RUBYGEMS PLATFORMS:
  • ruby
  • x86-mingw32
  • GEM PATHS:
  • C:/Ruby192/lib/ruby/gems/1.9.1
  • H:/.gem/ruby/1.9.1
  • GEM CONFIGURATION:
  • :update_sources => true
  • :verbose => true
  • :benchmark => false
  • :backtrace => false
  • :bulk_threshold => 1000
  • REMOTE SOURCES:
  • http://rubygems.org

install ubuntu and follow this:
http://cicolin.blogspot.com/2010/10/how-to-install-ruby-rails-and.html
:wink:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs