If you use Rails < 3.0 version, so its version is defined in your_app/
config/environment.rb file as
RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
To get your RoR application running on a dedicated host, you should
have the same Rails and gem versions on the server that you use in the
development environment. If not you risk to have some compatibility
problems, weird messages, etc.
Rails 3 uses a little bit different project structure, command syntax
and a lot of other new features (see Rails 3 release notes and guides
for more information). You will find compatibility issues (Ruby
version required to use Rails 3, etc.) out there.
On Nov 21, 10:00 am, Terry Michaels <li...@ruby-forum.com> wrote:
> I'm fairly new to Ruby (around 6 months) and to RoR (about two or three
> weeks of practical experience). However, for an important programming
> project, I'm (for economical reasons) stuck serving my app on a hosted
> web server which uses Ruby 1.8.7 and Rails 2.3.10. But I want to be
> using Ruby 1.9 and Rails 3.
>
> My Rails book seemed to indicate (if I understood correctly) that you
> could actually pick which version of Rails your app used, even if it is
> not what is installed on the server. Could somebody give me some insight
> into how that works? Also, it it possible to have (and use) your own
> "local" installation of Ruby (inside your HOME directory) that is the
> version you prefer?
>
> --
> Posted viahttp://www.ruby-forum.com/.
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment