Suddenly I lost the styling on my application served on Heroku. The reason for that was that all the assets (CSS, JavaScript, images) could not be found. The mysterious error:

ActionController::RoutingError (No route matches "/stylesheets/basic.css" with {:method=>:get}):

was indicating that there is some routing problem. Actually it wasn't that exactly. I have added to my application config.ru file which I needed for serving it from Pow in my local development environment. The Momoro Hoax provided a solution which was to change slightly the content of the config.ru. Of course removing config.ru from that app and not keeping it in git repository would also solve that problem. 
 
Across my, so called, career, I was working in different environments: small companies, big corporations, medium company going small, small company going global, a consultancy in corp culture trying to be agile, an agile small company falling into the corp culture. I also worked with different technologies, those which came from such ones like: M$, IBM, Oracle, SAP, and those which used to be ignored by big boys: Open Source, Apple, Web Standards, Ruby on Rails. I went through many project management styles, from "project life cycle" lectured and exercised at Uni, email, meetings and phone calls driven chaos, Agile techniques which looked a bit fanatic, waterfall, thick book formal specification prepared by BAs, extremely fast craziness, through online project management tools like Basecamp, Jira, self written one. 

Today I already know what kind of working culture makes my day. 37Signals proved that you can do less to make it better. They also proved that people can be happy at work. Fog Creek created a great office as they think it is a key thing to have a great working environment for creative programming.

When looking back at technologies, they reflect the culture of those who create them. Jira is messy, cluttered, confusing, even people who insisted on using it by me, they just don't use it. Why? Maybe it is not comfortable to be used? David Allen in his "Getting Things Done" book explained that we need to organise ourselves in a way that "filing stuff has to be fun, so we could do it with pleasure". Some working cultures, like corp one, claim that work doesn't have to be fun, it is just work and you should just do it because they pay you for it. Such culture is a common perception. When I openly speak to people who are close to me that it doesn't have to be like that, they look at me in a funny way. But some say: "And the only way to do a great work is to love what you do [...] so keep looking, don't settle"

I kept looking and I found: Web Standards when I could not stand the pain of developing web sites for IE which then should also look good in other popular browsers, which at the time was only IE in different versions and then a bit of FireFox. Web Standards with Jeffrey Zeldman shown that we can do it in a better way, do it according to standards so it displays well everywhere and then we have a pain of developing for IE. Ruby on Rails with respect for Web Standards made programming a pleasure. Those who laughed at first at "framework that's optimized for programmer happiness and sustainable productivity" are trying to replicate that within their environments: Java, .Net, PHP etc. I decided 5 years ago to take a risk and follow the happy route and switch from .Net to Ruby on Rails. Even if it meant to deal with lack of backwards compatibility which is soooo important for Java developers or for Windows. I prefer using better OS which leaves behind things which did not really work out, even if it means I would need to spend more money for newer computer. That's why I use Mac OS X. I don't mind if new Basecamp is actually a new product with many things dropped from the Basecamp Classic, if that means a better approach to project management. I'm fine with big changes between different versions of Ruby on Rails even if I have many projects in so many different Ruby on Rails versions. Because I can see how good choices have been made by Open Source community. Even if those choices might be judged as not the best ones one day, we all know it can be changed with new, better choices, because backwards compatibility or corp culture won't stop us from that.

These days banks are looking for Ruby on Rails developers and they pay good money. More important though is how great web applications are being created. Many of them built on that framework, others using Ruby on Rails approach within other frameworks. I don't mind if there are many project management tools around (Basecamp, Trello, Asana, Jira, Codebase). I will try to use the new Basecamp. I trust the people from 37Signals. I don't need to use the best one. The great one is enough for me. 

 
I'm not writing anything anymore directly in Weebly which just decided to reload the interface while I was writing. Bad habit to use a web app for creating content. Stickies (an old Apple app) are perfect, they keep recording what you write instantly.

 
These days Xcode is getting installed directly from Mac App Store. For installation of Ruby on Mac OS X we need a C compiler. It used to be installed with Xcode in previous versions. In Xcode 4.3 that needs to be installed from Preferences of Xcode in the Downloads section, the "Command Line Tools" bit. When you click [Install] button you will be asked for your Apple Developer ID you have registered with as Apple Developer. I have put a wrong AppleID and I could not find where to change it in Xcode preferences. But because Xcode asked me if I want to store this information in my Keychain, I could find that in the keychain under daw2.apple.com name. This way Xcode will ask for Apple Developer ID again.

So far so good, the 171.7MB of Command Lind Tools are downloading, although the note under that installation explains that those are not really necessary:

Before installing, note that from within Terminal you can use the XCRUN tool to launch compilers and other tools embedded within the Xcode application. Use the XCODE-SELECT tool to define which version of Xcode is active.  Type "man xcrun" from within Terminal to find out more.

Downloading this package will install copies of the core command line tools and system headers into system folders, including the LLVM compiler, linker, and build tools.


If you want to use the compiler without installing the "Command Line Tools" you need first to set the path to Xcode. Run that as super user:  
> sudo xcode-select -switch /Applications/Xcode.app/
This way you can find where is the compiler:  
> xcrun -find cc  
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
> xcrun -find gcc  /Applications/Xcode.app/Contents/Developer/usr/bin/gcc

All the above came from that I wanted to install Ruby 1.9.3 on Mac OS X 10.7.3 Lion using rvm:
> rvm install 1.9.3
The above command will fail as it needs to use another compiler. Thanks to zzaman who answered to similar problem on Stack Overflow I have specified the compiler, which works:
> rvm install 1.9.3 --with-gcc=clang



Now I have 1.9.3-p0 under rvm 1.10.2 and another problem. Setting a default gemset is not working. 
> rvm use 1.9.3@3.2 --default

But with help from ashleyconnor the suggestion to get the head version of rvm helped. Now with rvm 1.10.3 the default gemset is working. This resulted also in getting Ruby 1.9.3-p125. Here we are with:
> ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]
> rails -v
Rails 3.2.2

 
According to Apple's technical specification for that MacBook it can support up to 4GB. I looked at Crucial where I like to buy RAM and their search tool guided me to a DDR2 PC-5300 667MHz 4GB Kit. I have learned already that this search tool not always shows correctly, so I checked on System Profiler of the MacBook in question. The current 2GB RAM there was 2x 1GB DDR3 1067MHz. Exactly the same memory as I have in MacBook Pro 15-inch,  2.53GHz, Mid 2009, except I have there 8GB (2x 4GB). 

I've taken that 8GB out of MacBook Pro and put into the White MacBook. Works perfectly fine. So I have ordered for the White MacBook 8GB Kit (4GBx2) DDR3 PC3-8500, which works. 

Crucial should correct their search tool.