On Jun 3, 9:19 pm, Norm Scherer <[email protected]> wrote: > This tells you what rails is installed on your system (at least what is > in your path). The real question is what rails version the application > is running with on the target system wherever that is. You need to run > 'rails -v' on that system or look in config/environment.rb. Towards the > top there should be a line defining the 'RAILS_GEM_VERSION'. This tells > you what version of rails you need to use to duplicate the present > production environment. Another possibility would be if rails were > frozen into the system (unlikely). In this case you would find rails in > the directory 'vendor/rails' and all of your plugins in 'vendor/plugins' > etc. The most likely case given that this has apparently been around > for a while is that you have an app written to an old rails version. > You *must* duplicate that environment as a first step and get the app > running in that environment to have any chance of updating it in any way.
Well. On the server if I run ruby -version I see there is 1.8.7 The same I also have (But maybe ont selected) Strange, when I run rails -v I see the message The program 'rails' is currently not installed. You can install it by typing: sudo apt-get install rails Very strange. Then I go to the application. At the same level as the folders app and config (thus, the root for the app) I see a file named Gemfile. Among the content I can see: source 'http://rubygems.org' gem 'rails', '3.0.3' gem 'sqlite3-ruby', :require => 'sqlite3' gem 'curb' gem 'nokogiri' gem 'mysql2' So on the server there is rails 3.0.3? Why didnt it appear when I run rails -v? And what about having version 1.2.6. Is that the problem? Where do I begin for upgrading to it? Sigh (I will also read the latest answers from gnarmis and noel maybe I find something there) -- 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.

