RVM: Controlando várias versões de Ruby. Setup-guide-rails-stack-with-passenger-rvm-bundler-apache-and-mysql-on-ubuntu. Sunday, 16 January 2011 • Permalink Here’s how I like to setup a Rails stack on Ubuntu 10.4. This recipe makes use of Apache as the webserver with Passenger to serve Rails, MySQL as the database, RVM (installed system-wide) to manage Ruby (I select Ruby 1.9.2 as the default these days), and the latest Rails, which is 3.0.3 as of this morning, and Bundler for installing gems. It also makes a system user for you to use, and a deploy user for deployments with Capistrano. This isn’t a script, so don’t try a cut-n-paste here. You’ll want to enter the commands one by one.
It won’t take long, but things seem to go better if you have a caffeinated beverage on hand when you start out. This also isn’t a comprehensive guide as much as it is a quick-start recipe for people who are already competent on the command line. And as usual, follow these steps at your own risk. Echo -e "\n111.222.333.444 server.example.com server\n" >> /etc/hosts echo "servername" > /etc/hostname ssh 111.222.333.444. 23 Amazing And Open Source Ruby On Rails Applications. Home » Extras » 23 Amazing And Open Source Ruby On Rails Applications Ruby on Rails is a powerful web framework that helps creating web applications easier, faster & writing an organized code.
There are lots of websites that use it including popular ones like Twitter, Basecamp, AboutUs & many more. Also, Ruby on Rails powers some amazing open source web applications which you may want to use directly or improve further. Here is a well-categorized 23 open source Ruby on Rails applications: (Note: There are few Merb apps. in the list too which we believe is ok considering Rails & Merb are getting into the same package with Rails 3.) Project, Task & Time Management Notes Notes is an easy to use to-do-list & notes manager application. It is possible to create pages & make them public (if wanted) or create simple notes. Reminders can be set for each note that can be sent to you by e-mail or SMS (via a Twitter bridge). Tracks A to-do-list manager with a clean interface.
ClockingIT But not only that. RVM: Controlando várias versões de Ruby. Ruby Version Manager ele é um gerenciador para vários ambientes de ruby, ou seja, você pode instalar por exemplo ruby 1.8.7 , 1.9.1 ou até jruby e alternar entre ele facilmente. Qual o propósito do RVM ? Com o RVM você pode criar ambientes específicos para cada projeto, utilizando a versão de Ruby que mais se apropria a cada situação, mas o mais legal não é apenas o gerenciamento de ruby, mas sim das Gem’ s que você irá usar, resumindo, nessa ambiente criado você pode usar gems específicas em versões específicas, utilizando a versão do ruby de sua preferência. Alguns Benefícios: Projetos mais independentes: Alguns projetos precisam de versões específicas gem’ s, ou se você quiser instalar uma Gem para apenas um ambiente, tendo assim um maior controle, pois o ambiente padrão não conterá aquela gem.Você pode testar como seu projeto se comporta com diferentes versões de gemsVersionamento do Ruby(é muito fácil alterar ente Ruby’ s) talk is cheap, show me the code Instalação sudo gem install rvm.