Charles on Software

Opinions about designing, programming and using software

Browsing Posts in Ruby

As I’ve noted before, in addition to running Ruby and Rails on my Linux boxes, I’m also running them on my Windows boxes.  Dave Keener, a colleague from NovaRUG, e-mailed me asking for advice on how to set them up under Windows.  Here is an expanded version of what I told him.  Note that this [...]

The Problem I recently had a client who needed some data conversion done.  They had contact records from a number of difference sources that they needed to import into a new CRM system that they were deploying.  They established the desired output format, provided the input files (i.e. files containing the contact information) and some [...]

I was thinking about application configuration and how to handle it in Rails, so I did a little Googling.  I found Railscast #85, which addresses the issue.  I was able to use the information provided by the author, Ryan Bates, to quickly whip up a configuration file containing information specific to my application. In the [...]

I went to test the URI class from the Addressable gem, looking for a replacement for the URI of the standard ruby library.  The gem installation went smoothly, but as soon as I tried to use it, I got this error: irb(main):003:0> require ‘addressable/uri’ LoadError: no such file to load — addressable/uri from (irb):3:in `require’ [...]

I installed apache and MySQL on my Windows XP laptop by using WampServer.  It’s convenient for setting up a local development environment. I’m creating a Rails application and ran “rake db:migrate” to create the database tables for my project.  When I did so, I got the following: rake db:migrate –trace ** Invoke db:migrate (first_time) ** [...]

While creating a Ruby on Rails application for the first time under Windows XP, I ran into a problem.  I usually do Ruby on Rails development on Linux, but I’ve been wanting to do it on my laptop; it runs XP, since I do a lot of .NET development. When I ran “rake db:create” to [...]