# Problems with Upgrading Rails App (2.1.2 -\> 2.3.4)

**URL:** <https://www.ruby-forum.com/t/problems-with-upgrading-rails-app-2-1-2-2-3-4/179209>\
**Category:** Rails\
**Created:** [November 19, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/problems-with-upgrading-rails-app-2-1-2-2-3-4/179209 "2009-11-19T18:11:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![san](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba9def/32.png) [@san](https://www.ruby-forum.com/u/san)\
**Post date:** [November 19, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/problems-with-upgrading-rails-app-2-1-2-2-3-4/179209/1 "2009-11-19T18:11:29Z")

</div>

Hi,  
Basically its about an “uninitialized constant  
ActionController::Session::PStore (NameError)”

> <https://gist.github.com/238838>

I had a look at:  
[http://wiki.rubyonrails.org/getting-started/upgrading?s[]=upgrade](http://wiki.rubyonrails.org/getting-started/upgrading?s%5B%5D=upgrade)

I did the following commands:

1. Updated my environment.rb  
RAILS\_GEM\_VERSION = ‘2.3.4’
2. Installed the newer rails  
sudo gem install rails -v 2.3.4
3. Executed rake rails:update
4. I checked: [Ruby on Rails 2.2 Release Notes — Ruby on Rails Guides](http://guides.rubyonrails.org/2_2_release_notes.html)
5. and [Ruby on Rails 2.3 Release Notes — Ruby on Rails Guides](http://guides.rubyonrails.org/2_3_release_notes.html)

The deprecated code sections in 4 and 5 dont seem to be root of my  
problem.

I have no clue, whats wrong. Any ideas?

Kind Regards,  
Alexander

---

<div class="post-metadata">

**Author:** ![san](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba9def/32.png) [@san](https://www.ruby-forum.com/u/san)\
**Post date:** [November 19, 2009, 6:25pm UTC](https://www.ruby-forum.com/t/problems-with-upgrading-rails-app-2-1-2-2-3-4/179209/2 "2009-11-19T18:25:20Z")

</div>

I forgot some steps

Alexander S. wrote:  
I did the following commands:

1. Updated my environment.rb  
RAILS\_GEM\_VERSION = ‘2.3.4’
2. Installed the newer rails  
sudo gem install rails -v 2.3.4
3. Executed rake rails:update  
4.1) ruby script/server # in app-dir leaded to error message  
4.2) rake db:migrate # in app-dir leaded to error message

A) I checked: [Ruby on Rails 2.2 Release Notes — Ruby on Rails Guides](http://guides.rubyonrails.org/2_2_release_notes.html)  
B) and [Ruby on Rails 2.3 Release Notes — Ruby on Rails Guides](http://guides.rubyonrails.org/2_3_release_notes.html)

Kind Regards,  
Alexander
