pepe wrote in post #966887: Pepe, Thanks. > > If you have problems or more questions I think it might be helpful if > you post the list of gems you have now to give us a better idea about > what mismatches you could have.
RobsiMac:~ rob$ gem list --local *** LOCAL GEMS *** actionmailer (2.3.8, 2.3.5, 2.2.2, 1.3.6) actionpack (2.3.8, 2.3.5, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.8, 2.3.5, 2.2.2, 1.15.6) activeresource (2.3.8, 2.3.5, 2.2.2) activesupport (2.3.8, 2.3.5, 2.2.2, 1.4.4) acts_as_ferret (0.4.3) capistrano (2.5.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) dnssd (0.6.0) fastthread (1.0.1) fcgi (0.8.7) ferret (0.11.6) gem_plugin (0.2.3) highline (1.5.0) hpricot (0.6.164) libxml-ruby (1.1.2) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.1) net-ssh (2.0.4, 1.1.4) net-ssh-gateway (1.0.0) rack (1.1.0, 1.0.1) rails (2.3.5, 2.2.2, 1.2.6) rake (0.8.3) RedCloth (4.1.1) ruby-openid (2.1.2) ruby-yadis (0.3.4) rubynode (0.1.5) rvm (1.1.3) sqlite3-ruby (1.2.4) termios (0.9.4) xmpp4r (0.4) RobsiMac:~ rob$ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] RobsiMac:~ rob$ rails -v -bash: rails: command not found > > There is something you should know I am not sure you are aware of. > Different versions of Ruby and Rails have different dependencies. For > example, a given version of rails might need a minimum (and maybe > maximum) version of activerecord. Just having _any_ version of > activerecord will not do. Thanks. I am pretty sure this is true. Some people think that is a good thing. I am not so sure. > > In my opinion the best thing you could do if you want to have a > "clean" environment is remove everything you have and install what you > need. That is where I got started. But instead people are trying to convince me to keep multiple versions, but if this is screwed up why? >The process *shouldn't* be difficult. I wish I could figure out how. Not just what tool to work. > > I believe the prior mentions to RVM were meant to indicate to you that > there are ways of keeping separate "environments" if you need them. No kidding. > For example, you might have an application that runs under Ruby 1.8.6 > and Rails 2.3.5 and another one under the latest Ruby and Rails > versions. The activerecord and related gems you need are going to be > different for sure for between both environments. RVM will help you to > keep those 2 environments separate. I only need one environment ruby 1.8.7 and rails 2.2.2. Pepe, thanks again. -- Posted via http://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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.