Updating to 2.1.0 using InstantRails2.0 - cache problem

hello. i’m trying to update to rails 2.1 using instant rails,
so i can use the new cache features, but when i try to
use the method “Rails.cache.write” in a controller, i
get the error

“undefined method `cache’ for Rails:Module (NoMethodError)”

and if i try to force the cache store to memory_store using

“ActionController::Base.cache_store = :memory_store”

in a conf file, i get: “undefined method `cache_store=’ for
ActionController::Base:Class (NoMethodError)”

the version message for (“rails -v”) is “Rails 2.1.0”, so i assume that
the version is ok. does anyone know what could be the problem?
thanks.

forgot to set the RAILS_GEM_VERSION variable to ‘2.1.0’

being a newbie sucks…

Pepe J. wrote:

hello. i’m trying to update to rails 2.1 using instant rails,
so i can use the new cache features, but when i try to
use the method “Rails.cache.write” in a controller, i
get the error

“undefined method `cache’ for Rails:Module (NoMethodError)”

and if i try to force the cache store to memory_store using

“ActionController::Base.cache_store = :memory_store”

in a conf file, i get: “undefined method `cache_store=’ for
ActionController::Base:Class (NoMethodError)”

the version message for (“rails -v”) is “Rails 2.1.0”, so i assume that
the version is ok. does anyone know what could be the problem?
thanks.