April 2010
1 post
5 tags
Rails 2.3, cache_fu and the memcached...
Many Rails developers mistakenly assume that by installing defunkt’s cache_fu, Rails will be configured to use the settings found in the memcached.yml config YAML installed by the plugin. This was somehow true in earlier versions of Rails 2.*, but a couple of extra steps are required for 2.3.
Tim Connor’s branch has a commit that correctly sets the session_store config in Rails 2.3. ...
October 2009
1 post
How to install Ruby 1.87 on EngineYard Flex
ezmobius: you can install 1.8.7
ezmobius: you need to do this:
ezmobius: echo "=dev-lang/ruby-1.8.7_p174 ~amd64 ~x86" >> /etc/portage/package.keywords/ec2
ezmobius: emerge -g =dev-lang/ruby-1.8.7_p174
ezmobius: as root
ezmobius: you may need to recompile any gems that have binary extensions
August 2009
2 posts
Compile the Passenger prefpane
Make sure you have the latest Xcode and RubyCocoa installed before continuing
git clone git://github.com/alloy/passengerpane.git
cd passengerpane
run ‘rake release’
cd pkg
open .
Find the compiled prefpane, double click on it.
Install Rubycocoa on Snow Leopard
Download the Rubycocoa 0.13.2 installer from the official site: http://sourceforge.net/projects/rubycocoa/files/
Mount the DMG file, copy the PKG anywhere that’s writeable.
Right click on the PKG, select “Show Package Contents”. Navigate to the “Info.plist” file, double click to open.
Modify the IFRequirementDicts, Item 1, TestOperator value to ‘=’...
May 2008
1 post
Build and Install Github.com gems
Haml example
git clone git://github.com/nex3/haml.git
cd haml
gem build haml.gemspec
sudo gem install haml-1.9.0.gem
April 2008
22 posts
dirtyhand: sudo gem install cheat
dirtyhand: cheat vim | mate
dirtyhand: IRONY
faisal: i have aptana, i have netbeans, i mostly work in textmate anyway. but aptana has a good test runner and its code hints stuff overlaps (but isn't a subset of) netbeans'
faisal: so i use both
yaroslav: so you're on mac?
• yaroslav sighs
faisal: i'm on a mac
yaroslav: HOW CAN I REACH THESE KIDS
Dynamic AR mock model for testing, add or remove... →
How to get facebox and jquery to work with... →
Mark is coding in the park. He will send his changes when he comes back.
– The beauty of Git
git rebase master vs git merge master
dirtyhand: so, if im working on a branch and stuff in the master gets committed, when should I rebase vs doing a master merge into the branch?
mojombo: rebase is good for keeping local branches clean, but once they're pushed up, rebase is unwise
dirtyhand: what about Lighthouse reporting all github commits as being made by the account owner.
mojombo: we'll probably add the user level stuff to the LH integration before too long
class Luke < Anakin; end # man, that was too easy
– technoweenie
12th Cylon
I was wrong, Laura Roslin wont be murdered, I can see that they are definitely trying to take out out of the picture so that Lee Adama can be the new president. She’s the 12th Cylon, its so obvious now. Like I said, there is no way she will ever step down, she either dies, or she will be revealed as the 12th Cylon.
Buffalo Soldiers is a nickname originally applied to the members of the U.S....
– Buffalo Soldier - Wikipedia, the free encyclopedia
acts_as_murphys_law
Idea for new plugin name, don’t know what it will do yet. Maybe something to do with AR errors.
Starting development of a new Rails plugin
I’ve been doing some contract work for Norbauer.com and we needed a home-brewed globalization plugin that met a client’s needs. I just purchased the Peepcode Plugin PDF and I’m planning on reading it tonight.. a fresh git branch is awaiting me.
Update: Book was awesome, would’ve been impossible to find all this info on the net. Stayed up till 5am last night coding away...
Does “unzip” exist on Windows?
– Irony at it’s best. Comment on a change made to Rails source to support the new rake rails:freeze:edge command on Windows.
Official Github Rails repository →
How to install ImageScience on Leopard
Download the latest FreeImage source from this link
Unzip and edit Makefile.osx with the following changes (replace the lines). Here’s a pastie link for easier copy/pasting too:
INCLUDE_PPC = -isysroot /Developer/SDKs/MacOSX10.5.sdk
INCLUDE_I386 = -isysroot /Developer/SDKs/MacOSX10.5.sdk
LIBRARIES_PPC = -Wl,-syslibroot /Developer/SDKs/MacOSX10.5.sdk
LIBRARIES_I386 = -Wl,-syslibroot...
Github (official?) Rails repository →
Not quite sure if this will be the official repository. The Github guys might end up giving Rails a special account.
Zero to a Fully Git Enabled Rails App in the time... →
How to use Git submodules to import Rails Edge into a fresh Git project. Another option for externals if you don’t like Braid.
Battlestar Galactica season 4 theories
I think it’s pretty obvious now that they are setting up Lee Adama to be the new president. He’s already rejected his father’s invitation to rejoin the fleet, so he won’t be flying no Vipers again. He’s now got an entry level political job, its just a matter of TV time (5-6 episodes) before he’s ready to be a president. Roslin will be murdered. Why? She will...
In this way, programmers are really lucky. Unlike biologists or mechanical...
– Slash7 with Amy Hoy - Slash7 Interviews: Ryan Norbauer
Piston 1.9.2 woes
So last night I checked out the latest development version of Piston from Github, which supposedly now supports Git. I tried importing Rails edge into a fresh Git repository…and waited…waited some more, fell asleep, woke up and it still was where I left it. Then I realized that Francois had also disabled the rest of the commands. Back to 1.4.0 for me, i’ll post about Braid as...