If anybody here can help me about using RVM gemsets, then I have a question. I want to use different versions of gems for every rails project. How can I do that? I know that we can use different gemsets for different versions of Ruby but I want to use separate gemset for every project. -- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/D7jTbZ-R9VAJ. For more options, visit https://groups.google.com/groups/opt_out.
On 22 January 2013 08:47, Kashif Umair Liaqat <kulking370-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If anybody here can help me about using RVM gemsets, then I have a question. > > I want to use different versions of gems for every rails project. How can I > do that? I know that we can use different gemsets for different versions of > Ruby but I want to use separate gemset for every project.Have you looked through the docs at [1]? In particular look at the section on .rvmrc files [2], but worth reading through all the documentation. Colin [1] https://rvm.io/ [2] https://rvm.io/workflow/rvmrc/#project -- 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 https://groups.google.com/groups/opt_out.
Yes! you can use different gem set for each project that is what best of RVM. After going to your app folder just type this command " rvm gemset create gemset_name " to use that gemset you need to run this command " rvm use rvm_version@gemset_name " Now you can use your selected rvm version and also gem set just run the bundle install to install gems required for your app. On Tue, Jan 22, 2013 at 2:17 PM, Kashif Umair Liaqat <kulking370-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> If anybody here can help me about using RVM gemsets, then I have a > question. > > I want to use different versions of gems for every rails project. How can > I do that? I know that we can use different gemsets for different versions > of Ruby but I want to use separate gemset for every project. > > -- > 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 > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/D7jTbZ-R9VAJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 https://groups.google.com/groups/opt_out.
Hi, @keerthi priya says correct. * * *You have to create .rvmrc file in app structure.* *And keep below line in this file* rvm --create use "ruby-1.9.3-p125@your_app_name" And you are done. Thanks Best Regards Fahim Babar Patel * * * * On Tuesday, January 22, 2013 2:17:18 PM UTC+5:30, Kashif Umair Liaqat wrote:> > If anybody here can help me about using RVM gemsets, then I have a > question. > > I want to use different versions of gems for every rails project. How can > I do that? I know that we can use different gemsets for different versions > of Ruby but I want to use separate gemset for every project. >-- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/JK5D1UHN3UsJ. For more options, visit https://groups.google.com/groups/opt_out.