Are you AN admin or are you THE admin? Gem tries to install in a directory of the user named admin, if your logged in user is named mahendra and has admin rights that is probably not enough.
Also please check if the directory exists and check the permissions on that directory. Top posted from android Am 26.02.2011 09:47 schrieb "mahendra Somavarapu R." <[email protected]>: > I am using microsoft XP Pro-SP3 and I am facing this problem. > > C:\Ruby192>gem install rails --include-dependencies > INFO: `gem install -y` is now default and will be removed > INFO: use --ignore-dependencies to install only the gems you list > ERROR: While executing gem ... (Errno::EACCES) > Permission denied - C:/Documents and Settings/admin/.gem/specs > > Please help to complete with any idea. > > i am already an admin in my system? > > And I also tried with ctrl+shift+enter ... no use. :( > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to [email protected]. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

