On 23/02/2009, at 8:04 AM, Grzesiu wrote:

> Hi Conrad,
> I am just starting my adventure with rails, so I am trying to start
> with the most recent versions of ruby and rails to not have to upgrade
> and struggle later, when it will be the time to deploy the app.


My suggestion, taken from many years experience as a developer under  
FreeBSD: don't use bleeding edge versions when learning a new and  
unfamiliar infrastructure, and don't run bleeding edge versions when  
developing under a less popular and therefore lesser supported  
operating system such as FreeBSD.

There are many caveats in using ruby 1.9 which contains a lot of  
fundamental and subtle changes to the ruby language without  
introducing an entire framework built originally for an earlier  
version. While bleeding edge / beta / candidate release versions of  
rails may cope with ruby 1.9, many if not most of the plugins you  
might be interested in playing with under rails will not be. And  
unless you want to reinvent many wheels, you WILL want to play with  
rails plugins. You want to learn the language and framework in a sane,  
well defined and tested environment, not in one that breaks easily.

So, start from scratch. Uninstall all current versions of rails and  
ruby, go back to 1.8.6pl287 from ports and install the gems (including  
rails 2.2.2) also from FreeBSD ports and not via gem directly. This  
path avoids many of the problems you will otherwise hit, problems  
which have already been solved by the ports maintainers. Those  
problems are also easily solvable via google but it takes time, so  
best avoided unless you are a developer already very familiar with  
ruby, rails and FreeBSD and don't mind getting your hands dirty. Your  
life will be far more productive in the short term and you will hit  
few if any "strange errors".


Happy developing,
/d


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to