Hi!
The app that I’m developing is based on Rails 3.1.1. Now 3.1.3 has been
released. I’m a bit new to rails so I’m not sure how to safely do the
upgrade.
- How do I upgrade my app from Rails 3.1.1 to 3.1.3?
Regards
Linus
Hi!
The app that I’m developing is based on Rails 3.1.1. Now 3.1.3 has been
released. I’m a bit new to rails so I’m not sure how to safely do the
upgrade.
Regards
Linus
3.1.1 to 3.1.3 is a very small change. So, all you have to do is update
your Gemfile.
Open up Gemfile, and change the version for rails from 3.1.1. to 3.1.3
and then go to your project folder and run “bundle install”
Chirag
http://sumeruonrails.com
On Fri, Nov 25, 2011 at 1:54 AM, Linus P. <
Thanks.
From: Chirag S. [email protected]
Reply-To: [email protected]
Date: Fri, 25 Nov 2011 09:05:20 +0530
To: [email protected]
Subject: Re: [Rails] Upgrade to rails 3.1.3
3.1.1 to 3.1.3 is a very small change. So, all you have to do is update
your
Gemfile.
Open up Gemfile, and change the version for rails from 3.1.1. to 3.1.3
and then go to your project folder and run “bundle install”
Chirag
http://sumeruonrails.com
On Fri, Nov 25, 2011 at 1:54 AM, Linus P.
[email protected] wrote:
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/gPGqXIyHy-gJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]
mailto:[email protected] .
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
On 25 November 2011 03:35, Chirag S. [email protected]
wrote:
3.1.1 to 3.1.3 is a very small change. So, all you have to do is update your
Gemfile.
Open up Gemfile, and change the version for rails from 3.1.1. to 3.1.3
and then go to your project folder and run “bundle install”
Should one do rake rails:update also, just in case any scripts have
changed? Or is that no longer required under rails 3?
Colin
On 25 November 2011 09:37, Chirag S. [email protected]
wrote:
Should one do rake rails:update also, just in case any scripts have
changed? Or is that no longer required under rails 3?Colin
This is a tiny version upgrade and to the best of my knowledge there aren’t
any script changes and hence it isn’t required to run that task.
Is it not better just to run it anyway? It is easier to run it than
it is to try and work out whether it is necessary to run it.
Colin
On Fri, Nov 25, 2011 at 2:34 PM, Colin L. [email protected]
wrote:
Colin
This is a tiny version upgrade and to the best of my knowledge there
aren’t
any script changes and hence it isn’t required to run that task.
Chirag
http://sumeruonrails.com
–
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Chirag
http://sumeruonrails.com
On Fri, Nov 25, 2011 at 3:16 PM, Colin L. [email protected]
wrote:
Gemfile.
aren’t
any script changes and hence it isn’t required to run that task.Is it not better just to run it anyway? It is easier to run it than
it is to try and work out whether it is necessary to run it.Colin
Yes, I guess there’s no harm in running that.
Ok, thank you guys.
Hasn’t some other gems changed? Like some of these:
gem ‘sass-rails’, ‘~> 3.1.4’
gem ‘coffee-rails’, ‘~> 3.1.1’
gem ‘uglifier’, ‘>= 1.0.3’
Are these still the default in 3.1.3?
Regards
Linus
On Fri, Nov 25, 2011 at 11:33 AM, Linus P.
[email protected] wrote:
Hasn’t some other gems changed?
Are these still the default in 3.1.3?
Easiest way to find out is to create a dummy project using 3.1.3 and
see what gets installed when you run bundle install
Alternatively, you can run bundle update
on your existing 3.1.1 app,
edit the Gemfile to specify rails 3.1.3 and run bundle update
again to
see what changes…
Hassan S. ------------------------ [email protected]
twitter: @hassan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs