Using a gem without installing it
问题 I need to run a bunch of ruby scripts that I have written on a server that I don't have sudo access to. On my own machine, I have installed a bunch of gems using 'sudo gem install ..' and used them in my code.. Is there any mechanism which would let me use these gems without formally installing them on a remote machine? 回答1: You can install them in a user directory: http://docs.rubygems.org/read/chapter/3#page83 This looks like it lets you install the gems anywhere you want. 回答2: You can, but