Posted by Andrew
Thu, 15 Jun 2006 23:55:00 GMT
Rails committer Jamis Buck recently explained in this post why it is important not to use static FastCGI processes on shared webservers. AVLUX took Jamis’ helpful guidance and used it as a starting point to enable all its Rails hosting customers to manage their own FastCGI processes
At the end of this post Jamis writes:
“Note, however, that a reboot of the machine hosting your account will require you to run the spawn scripts for your applications again… I’m sure there’s a handy solution for that floating around somewhere, but I don’t know it offhand.”
At AVLUX this is how we facilitate our Rails developers managing their own dispatch.fcgi processes, and ensuring that they all run at startup:
Read more...
Posted in System Admin, Ruby on Rails, AVLUX | Tags avlux, fastcgi, howto, lighttpd, sysadmin | no comments | no trackbacks
Posted by Andrew
Wed, 17 May 2006 22:01:00 GMT
Here are 2 helpful and colorful sheets to print and paste up at your desk:
this one for basic Rails stuff
and
this one for TextMate commands for Rails hackers
assuming of course that you are a Rails developer blessed with a Mac and that excellent editor, TextMate
Posted in Ruby on Rails, Mac OS X | Tags howto, macosx, rubyonrails, textmate | no comments | no trackbacks
Posted by Andrew
Tue, 18 Apr 2006 07:26:00 GMT
Ruby for Rails by David Black is being very well received thus far. It is available now in PDF, and will be in paper in the beginning of May. You can view the Table of Contents online, as well as 2 sample chapters.
If someone can venture a guess as to why the cover features a bearded guy in his bathrobe, impersonating a mushroom, please let us know.
Posted in Ruby on Rails | Tags books, howto, ruby, rubyonrails | no comments | no trackbacks
Posted by Andrew
Fri, 14 Apr 2006 23:49:00 GMT
What is this blog running? Check here
As of 4/14/2006 AV-looks was running Typo trunk revision 1021 on Rails 1.1.2. We applied this patch for fixing default comments.
We have a test version of this blog running in development mode, where we test new Typo trunk revs.
Read more...
Posted in System Admin, Ruby on Rails | Tags howto, rubyonrails, sysadmin, typo | 1 comment
Posted by Andrew
Tue, 07 Mar 2006 02:04:00 GMT
I have had a number of people ask me recently about how to get started with Rails. Of course there is the Rails Book and the Pickaxe Book. But in addition to these, Digital Media Minute has compiled a helpful list of 12 tutorials which they have found to be the most useful in getting started. Beginning from the top of list, and following links according to your questions and interests should take you a long way.
Within these tutorials, you will even find discussion of RDT and RadRails , the plugins which enable you to do Rails development in widely popular open-source IDE, Eclipse.

Posted in Ruby on Rails | Tags books, eclipse, howto, IDEs, radrails, ruby, rubyonrails | no comments
Posted by Andrew
Thu, 02 Mar 2006 01:42:00 GMT
Apple recently published a nice succinct tutorial on Ruby on Rails on their Developer website. Of course they point out that all members of the Rails core development team work with Macs. I have had the pleasure of working with several top notch Rails developers and in my experience they all do use Macs. I reckon it is same love for simple elegance applied to program development.
Reading over this article I get feeling that they have been spying on me. I too use TextMate and I recently set up Lighttpd to run on my PowerBook G4 to complement my RoR test environment. Their references for setting up Lighty in this article are the same ones I would recommend:
We will have more on Lighttpd in coming posts…
Posted in Ruby on Rails, Mac OS X | Tags howto, lighttpd, macosx, rubyonrails | no comments
Posted by Andrew
Thu, 16 Feb 2006 00:47:00 GMT
Best practices for running Instiki
Initial setup – prerequisites
- Download and install Ruby 1.8.2. In all our experience, later versions of Ruby break Instiki. You can download the source from ruby-lang.org . We recommend building from source (tar zxvf, cd to dir, ./configure, make, make install), though you can certainly install ruby with any of the various package managers out there.
- Download and install rubygems . tar zxvf the file, cd into the dir, and run `ruby setup.rb`
- run `gem install instiki—include-dependencies`. Besides Ruby 1.8.2, the current Instiki (0.10.2) needs Rails 0.13.1, not higher. A very nice thing about gem is that you can have multiple versions of packages, e.g. Rails 1.0.0 and 0.13.1 installed, and different ruby gems and apps just seem to know what they need.
Read more...
Posted in System Admin, Ruby on Rails | Tags howto, instiki, rubyonrails, sysadmin, wiki | no comments | no trackbacks