Hi
I am working in a linux ruby rails environment and would like to install
some gems but ensure that i they only work within my branch of the code and
are not put into the gem path so that they are visible to everyone else
How can I do this?
my current gem env is
[ta84@ukird135 ~/projects/RB-3.7-dev01]$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [i686-linux]
- INSTALLATION DIRECTORY:
/appl/apache/dev/development/ruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /appl/apache/dev/development/ruby/bin/ruby
- EXECUTABLE DIRECTORY: /appl/apache/dev/development/ruby/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /appl/apache/dev/development/ruby/lib/ruby/gems/1.8
- /home/ta84/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
[ta84@ukird135 ~/projects/RB-3.7-dev01]$
Gurdipe
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/qh6Uhz9SqlQJ.
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-US.
On 29 June 2012 09:42, Gurdipe Dosanjh <rhomobileapps-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > > I am working in a linux ruby rails environment and would like to install > some gems but ensure that i they only work within my branch of the code and > are not put into the gem path so that they are visible to everyone elseUse rvm, then each user and rails app can have a different set of gems https://rvm.io In fact it is highly recommended to use rvm anyway. Colin -- 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-US.