Problems running gem install rails...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JamesR
    New Member
    • Dec 2007
    • 1

    Problems running gem install rails...

    Hi trying to install rails, but get this error...

    C:\ruby>gem install rails --include-dependencies

    ERROR: While executing gem ... (Errno::EACCES)
    Permission denied - c:/ruby/bin/rails

    Can anyone help?

    OS is Vista.

    JamesR
  • Rauoskegg
    New Member
    • Dec 2007
    • 1

    #2
    I just had the same issue on Vista. When running things via the command line, you need to run them as administrator even if your account is an administrative account.

    When expecting to install things via the command line, just to goto the Vista Start Search Edit box, type 'cmd' and instead of hitting 'enter', hit cntr+shift+ente r to launch it with admin privaliges.

    No problems installing after that.

    Best of luck

    Originally posted by JamesR
    Hi trying to install rails, but get this error...

    C:\ruby>gem install rails --include-dependencies

    ERROR: While executing gem ... (Errno::EACCES)
    Permission denied - c:/ruby/bin/rails

    Can anyone help?

    OS is Vista.

    JamesR

    Comment

    • perherman
      New Member
      • Dec 2009
      • 1

      #3
      Great, Thanks for this instruction. I figured it had something to do with the rights of my account (even if I am administrator).

      It worked!!

      Per-Olof

      Comment

      • Moe1
        New Member
        • Feb 2010
        • 1

        #4
        Thnx a lot , it is finally working ...

        Comment

        Working...