Skip to main content

Posts

Showing posts with the label Ruby

Slides from my session at LKRUG October Meetup

The October meetup of Lanka Ruby User Group was help on 28 October evening. This month also Sameera organized the meetup at Ridgecrest Asia premise with the backing of Sanath (their CEO). As usual we went with the two technical sessions setup where Sameera took the first session. Unfortunately I could not make it to the first session. However people who were available claim that it was great. Anyone interested can see the slides from Sameeras presentation at Slideshare . The topic was "Agile Software Development with Scrum" by the way. My session was named "Ruby beyond Rails". It talked about why most of us came for Rails and stayed for Ruby. My aim was to give an introductory background about various Ruby related projects. The session was much generic, but I believe it paved the way for more technical and/or hands on sessions in future. So here's the slides: Ruby Beyond Rails View more documents from Gaveen Prabhasara . If you have a Slideshare account you can...

Lanka Ruby User Group - 1st Meetup

As some of you may have already heard, some people who are interested in the programming language Ruby got together and formed a Ruby User Group . Within something around a months time they had their first meetup. If you get my drift, I'm also one of those people. :) Backdrop Sri Lankan software developers have been using Ruby for a while. Some cases were isolated projects but during the time period around 2005/2006 there have been a rise in the usage of Ruby in serious projects. Still the people who loved Ruby coding lived scattered everywhere. When an Italian Ruby coder named Sebastiano visited Sri Lanka by the end of 2007, he asked the few of us he met (individually), why we weren't hanging around with the like minded crowd. True, we had a quite active Linux User Group / FOSS interest group in Sri Lanka. But apart from that there weren't much enthusiasm flying around in favour of technical groups. However Twitter was able to get some Ruby enthusiasts together. Ruby Us...

Git it done, Rubyists

The small article I did for the Ruby Advent 2008 went up on 9th December. It was aptly named Git it done, Rubyists . I went through the basic steps to create a Git repository and how to play with it using your beloved programming language; Ruby. Two libraries ( Grit and Ruby/Git ) were given a brief introduction and that's almost it. The article was aimed to be an introductory and a short one. I hope someone will find it useful. Ruby Advent 2008 is an advent calendar with the Ruby flavour. Lakshan , a fellow Sri Lankan Rubyist organized this years Ruby Advent following the tradition from 2006 . I can't judge my own article, but I can assure that the rest of the articles are excellent. Ruby Advent 2008 was featured in RubyInside , RailsEnvy podcast , and many other sites including RubyFlow and RubyFu. IMHO, this years calendar was a success. A bunch of awesome Ruby community members contributed contents convering many interesting topics. Mast read for anyone interested in Rub...

Howto Setup a Subversion (svn) Repository for a Rails Project + Bonus

Setting up a Subversion (svn) repository is something development teams have to do fairly regularly, not that I want to use Subversion. :) If you listen to me, go use Git . Subversion is undoubtedly very good. But after using Git for about a year, you can't simply get me to switch back. Git is that good. :) I've written about Git before . In cases where you can't use Git (or you feel too castrated by TortoiseSVN, pardon me for the pun) you can use Subversion. In this post I'll go through the steps you have to follow to get a basic Subversion setup up and running on a CentOS 5 Linux host. However I think you should be able to use this on other Linux distros too. There's more than one way to host a Subversion repo. I'm going to stick with one way involving WebDAV. Don't mind the buzz word. It's the most common usage for this purpose. If you want a repository where you want to checkout and commit remotely, this is an easy way of getting it done. In addition...

Errno::EPIPE (Broken pipe) MySQL Error in Rails

I've been working professionally with Ruby on Rails for a few months. To be exact that's mostly in SysAdmin capacity. During the time, I've seen some weired errors which I had not seen anywhere else. Time rolled on and now those things don't look weired at all. Actually I should have looked more carefully. Later, I did and found my way through. So here's some stuff I found. Hope this will save someones time. (My Ruby servers post is coming shortly,.. really, and will include details about Thin and Passenger too. Actually I was waiting Phusion Passenger AKA mod_rails to be released. For a quick peak of the post, I'm currently running Thin in production and also evaluating Passenger. Update: I've moved about 6 apps to Passenger. So far so good. Thin is still my first choice though. You can look forward to the post along with some Capistrano scripts too, ...soon. :) 1. Errno::EPIPE (Broken pipe - The Major Pain in the Neck) The team I'm working with are usi...

For the Love of Rails..

Most people who know me personally know that I'm an Open Source enthusiast. And they probably know that I'm more of a SysAdmin than a developer. Well, thats quite true. Eventhough I enjoyed programming, my main interest was always System (especially Linux) administration. However in the last 6-8 months aor so I've started getting more and more into Open Source development. A major breakthrough for me was getting selected for Google Summer of Code 2007, to participate in Nmap! (Nmap is much like a grail among SysAdmins :) Unfortunately my persoanl circumstances didn't allow me to finish the work with them. Family matters and other things piled up and I have to give up. Nmap people has been very supportive though and the same was true about the Google people. So after some weeks here I was trying to look more into Nmap, Metasploit and other things. Then I realized that I could give sometime to this Ruby thing which I heard was on Rails or something. Here I am now, after a...