Is there a best way to freeze Rails apps these days? WRT the github
hosting. Bear in mind I''m still learning my around Git.
I tried:
git clone git://github.com/rails/rails.git
git checkout 2-1-stable
but it didn''t seem to work, since "head railties/CHANGELOG"
showed the
2.1.1 changelog. In addition a "git pull" caused a list of merge
errors.
So I found a different approach:
cd (RAILS_ROOT)/vendor
wget http://github.com/rails/rails/tarball/v2.1.0
tar xvzf rails-rails-71528b1825ce5184b23d09f923cb72f4073ce8ed.tar.gz
mv rails-rails-71528b1825ce5184b23d09f923cb72f4073ce8ed rails
rm rails-rails-71528b1825ce5184b23d09f923cb72f4073ce8ed.tar.gz
While the latter works cleanly, it seems a bit clunky. Wondering if
maybe there''s an elegant Git solution that I''m just not aware
of.
thank you kindly,
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---