e x p r e s s i c a

ruby on rails, business and technicalities

Archive for the ‘ruby’ Category

If you are running through the issues like: ERROR:  Loading command: install (LoadError) no such file to load — zlib ERROR:  While executing gem … (NameError) uninitialized constant Gem::Commands::InstallCommand This means, zlib was not installed while compiling Ruby (it’s a question though why it has been kept optional when it’s  [ Read More ]

Gosu is an open source game development library. Ruby and C++ programming languages can be used to write games using the Gosu library. The Passenger guys presented the RubyStein game written in Ruby. It’s an interesting game and has got many famous personalities form Rails community including DHH, ZedShaw and  [ Read More ]

Since last one year, there is quite a bit of Ruby and RubyOnRails development happening in India. Still the biggest thing missing here is the official Ruby and Rails meet-ups like RailsConf and RubyConf. Being in Ruby and Rails community since last three years I’ve been attending many events in  [ Read More ]

New in Ruby 1.9: Threads

The ruby is getting changed and improved a lot with every release. No doubt the existing demerits of rails are soon going to be history. Currently for my rails applications I am running Ruby1.8… and exploring 1.9 to get ready as we are heading with nice speed in the rails  [ Read More ]

Ruby 1.9 provides the block scoping of the local variables. It shadows the outside local variable in the block and allocates a new object_id in the memory to the block variable, which essentially means much more flexibility in using the lambdas without worrying about the name of the block variable.  [ Read More ]

If you have installed ruby using apt-get or if you have not mentioned the configuration option for openssl while installing from source, you can expect openssl will not work with ruby. Here is the solution for the same… Step 1 Install gcc and make(if you don’t have already on your  [ Read More ]

The function(s) defined within a function works fine with any hierarchy only within the main object but gives NoMethodError inside a class. Lets exemplify it! Here are the example of both main object and inside a class… [source:ruby] def person def author p “I am author” end def reader p  [ Read More ]

I participated in August Rails Hackfest which was a great experience. You can see the missing August 2007 from the Post Archives. I didn’t post anything last month as I was busy in submitting rails patches. I submitted a lot of patches out of which I got one patch committed  [ Read More ]

Hey Everyone, Vinsol is proudly taking charge to spread Rubyism in delhi and to grow the Ruby & Rails communities here in New Delhi, India. We are organizing delhi.rb meetups around once every month, the meetup is all about ruby and rails as well. The meetup was on 19th July  [ Read More ]