My /usr/local/rvm/gems looks like this (on ubuntu server):

cache          ruby-1.9.3-p0@global        ruby-1.9.3-p194
ruby-1.9.3-p194@TrackingSystem
ruby-1.9.3-p0  ruby-1.9.3-p0@online_store  ruby-1.9.3-p194@global
ruby-1.9.3-p392@TrackingSystem

Is this normal to be using so many patch levels? Obviously I want
different gemsets for different projects to manage with bundler. But
patch levels?

On May 14, 1:06 pm, John Merlino <stoici...@aol.com> wrote:
> I'm using capistrano. I added this to the recipe:
>
> set :rvm_ruby_string, 'ruby-1.9.3-p0@online_store'               # use
> the same ruby as used locally for deployment
> set :rvm_autolibs_flag, "read-only"        # more info: rvm help
> autolibs
>
> set :rvm_type, :system
> set :rvm_install_with_sudo, true
>
> before 'deploy:setup', 'rvm:install_rvm'   # install RVM
> before 'deploy:setup', 'rvm:install_ruby'  # install Ruby and create
> gemset, OR:
> before 'deploy:setup', 'rvm:create_gemset' # only create gemset
>
> Thats why patch level p0 is there. If I drop the -p0, will it install
> the latest rvm with each cap deploy?
>
> On May 14, 12:53 pm, Walter Lee Davis <wa...@wdstudio.com> wrote:
>
>
>
>
>
>
>
> > On May 14, 2013, at 12:37 PM, John Merlino wrote:
>
> > > How do you know which patch level to use for ruby? I have one project 
> > > that uses ruby-1.9.3-p0. When I cd into another project, it says: 
> > > ruby-1.9.3-p392 is not installed. So which to use: ruby-1.9.3-p0 or 
> > > ruby-1.9.3-p392?
>
> > Personally, with the rash of security updates we have seen lately, I would 
> > always use the latest Ruby you can in your major branch. Make sure your 
> > tests pass in the app that runs on v.0, and then update to the latest and 
> > run them again. If you're using rvm, that's likely how you got locked into 
> > v.0 and v.[whatever] in two different apps. If so, then check to see if you 
> > have an .rvmrc file in that folder. (Or local equivalent for some other 
> > ruby-switcher.)
>
> > Walter
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Ruby on Rails: Talk" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to rubyonrails-talk+unsubscr...@googlegroups.com.
> > > To post to this group, send email to rubyonrails-talk@googlegroups.com.
> > > To view this discussion on the web 
> > > visithttps://groups.google.com/d/msgid/rubyonrails-talk/e795aa06-bf20-482b....
> > > For more options, visithttps://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to