I run a small RoR application on a company server. I try to install my own list of gems because I would like to test new features, but the admin did not want to install these because these may disrupt other applications. Since I know that I can install some gems locally in my own machine, I ask the admin if it is possible to have a separate set of gems only for my application or for my user account. However, he said "no." Is it really impossible to do that? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Jiggy Jiggy wrote:> I run a small RoR application on a company server. I try to install > my own list of gems because I would like to test new features, but the > admin did not want to install these because these may disrupt other > applications. Since I know that I can install some gems locally in my > own machine, I ask the admin if it is possible to have a separate set > of gems only for my application or for my user account. However, he > said "no." Is it really impossible to do that?No. Your admin does not know what he is talking about: gem will install in ~/.gem if it can''t get write access to the system gem path. However, for Rails apps, there''s a better way: rake gems:unpack will put gems into your app''s vendor/gems directory. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Marnen Laibow-Koser wrote:> Jiggy Jiggy wrote: >> I run a small RoR application on a company server. I try to install >> my own list of gems because I would like to test new features, but the >> admin did not want to install these because these may disrupt other >> applications. Since I know that I can install some gems locally in my >> own machine, I ask the admin if it is possible to have a separate set >> of gems only for my application or for my user account. However, he >> said "no." Is it really impossible to do that? > > No. Your admin does not know what he is talking about: gem will install > in ~/.gem if it can''t get write access to the system gem path. > > However, for Rails apps, there''s a better way: rake gems:unpack will put > gems into your app''s vendor/gems directory.Sweet. I think that this is a better approach.> Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Feb 2, 2010 at 2:08 PM, jiggy <yijisoo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I run a small RoR application on a company server. I try to install > my own list of gems because I would like to test new features, but the > admin did not want to install these because these may disrupt other > applications. Since I know that I can install some gems locally in my > own machine, I ask the admin if it is possible to have a separate set > of gems only for my application or for my user account. However, he > said "no." Is it really impossible to do that? > >Hi, you can use the Bundler gem to package your gems with your Rails application. Thus, you can find information about the gem here: http://github.com/carlhuda/bundler Good luck, -Conrad> -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Conrad Taylor wrote:> On Tue, Feb 2, 2010 at 2:08 PM, jiggy <yijisoo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> I run a small RoR application on a company server. I try to install >> my own list of gems because I would like to test new features, but the >> admin did not want to install these because these may disrupt other >> applications. Since I know that I can install some gems locally in my >> own machine, I ask the admin if it is possible to have a separate set >> of gems only for my application or for my user account. However, he >> said "no." Is it really impossible to do that? >> >> > Hi, you can use the Bundler gem to package your gems with your Rails > application. Thus, you can find information about the gem here: > > http://github.com/carlhuda/bundler > > Good luck, > > -ConradBrilliant thread - this is really useful info for he future! On a similar note to the OP''s original comment about a local copy....I was struggling yesterday. I knew i''d installed cucumber but from the command line it wouldn''t run. After some digging i worked out i''d done ''gem install'' rather than ''sudo gem install'' and it had ended up in my user directory. So the admin is wrong but it does sound like the bundler is the right solution :) -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.