maxwell keyes is skinny lankey guy with glasses, insightful, yet insecure and still figuring things out like everyone else. He wears a red tshirt and blue jeans, drives a Delorean, knows Unix, lives in Arcadia, FL, living in 1983, uses a green monochrome monitor, has a best friend name Derek, and a crush on a girl named Ada Lovelace, and is seen as the leader, the one people turned to for guidance, after the nuclear bomb hit in the city, and his friends were spared in the basement/fallout shelter beneath the victorian house in the woods.
I installed factory_girl (2.6.0) for a project I am working on recently, and all of a sudden I started getting errors with RubyGems when I would try to run a rake task, such as: Invalid gemspec in [/opt/local/lib/ruby/gems/1.8/specifications/capistrano-2.11.2.gemspec]: invalid date format in specification: “2012-02-22 00:00:00.000000000Z” Invalid gemspec in [/opt/local/lib/ruby/gems/1.8/specifications/capistrano-2.9.0.gemspec]: invalid date format in specification: “2011-09-24…
Continue Reading »
I had recently used a branch to handle all the modifications I was making to a system for a Rails 3.1 upgrade from Rails 2.4.3. After I merged my changes back into the master branch, I deleted the ‘rails3′ branch locally, but it still remained on the remote server. I found that ‘git push origin…
Continue Reading »
Used without permission by Hometown Seeds I’ve been thinking of getting more involved in a hobby which I’m motivated to follow and invest my free time and resources into, which is relatively low cost, and that also might help me make contacts in person and online with like minded people. I might even be able…
Continue Reading »
I just watched this movie. It was very inspirational. I was on a similar regimen called The Primal Blueprint for several months. I went from 310 lbs to 275 lbs. Unlike the vegetable/fruit juice diet in this movie, I ate steamed veggies and meat without worrying about fat content (similar to how cave men eat)….
Continue Reading »
cPanel is working towards making Rails 3 applications run natively with Passenger, setup via the cPanel interface. I’m not really sure if this will be ideal, as most organizations deploy their apps to the server using Capistrano, not uploading via FTP or something. I’ve been hosting a number of PHP driven sites, including this blog,…
Continue Reading »
Stare at this for a while, then look at something near you.
Continue Reading »
In setting up a new Rails app recently I was told that it needed to be served under the sub-URI of ‘/info’. I hadn’t done this before with a Rails app, and I expected that it could be tricky. I checked online to see how this is done and found references to the ‘relative_url_root’ setting,…
Continue Reading »
I recently went to create a new Rake task under /lib/tasks in a Rails application I’m working on. I didn’t understand why the rake tasks weren’t showing when I would run ‘rake -T’ from the command line. When I’d try to run the task itself I would get a ‘Don’t know how to build task’…
Continue Reading »
I’m currently working on an app which integrates with the HighRise API using the Highrise Ruby wrapper gem. The classes defined by the gem rely on ActiveResource, the Ruby library included with Rails for interfacing with RESTful resources like the HighRise API. Sometimes I’m not sure if the requests being made via the commands I’m…
Continue Reading »
Here is example rake task code which you can use and modify the next time you’re setting up new Rake tasks for a Rails app from scratch. The example includes the syntax for setting the default task, running multiple tasks in order, and a task which includes multiple arguments. This coding syntax works with Rails…
Continue Reading »