Forum: Ruby how to install gems without permission on windows

48d3a2d84ee7e43fd731e57d9c704a4d?d=identicon&s=25 Poc Hsu (poc7667)
on 2014-08-13 07:31
I have no permission to install gems on default Ruby system path,

I tried to downloaded all the requires gem in a folder.

How can I install those gem without permission ?

Because I require some extra gems in the script

    require 'roo'
    require 'writeexcel'

Thanks

![enter image description here][1]


  [1]: http://i.stack.imgur.com/1xNJ4.png
54404bcac0f45bf1c8e8b827cd9bb709?d=identicon&s=25 7stud -- (7stud)
on 2014-08-13 19:09
You can use something like rvm to install ruby and any gems in your
local directory.
14b5582046b4e7b24ab69b7886a35868?d=identicon&s=25 Joel Pearson (virtuoso)
on 2014-08-13 23:36
You should be able to use the Windows installer for Ruby to aim at a
directory you have write-access to and start using that installation,
although if you don't have admin rights then the file-association in the
registry may not work.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.