Archive for March 2011

Ruby yes, Rails…not so much

The thing that is the most annoying about rails, after the general atmosphere of one-upsmanship, is that the general arrogance about being the best way to do things seems to lead to lack of good reference documentation. Tutorials for specific ways to do a particular task in ‘the Rails way’ abound, but reference docs are limited to the actual api for the code. Method-level references with clear explanations are just..nonexistent.

Everything is eventually possible, with much reading of code and blog posts, but clarity as to what is possible in a given context – missing.

Ruby is a beautiful, elegant language. Rails popularized the idea of scaffolding, and yes, if you want to do the standard shopping cart of database items you are done in 8 minutes. However….if you want to do something else entirely, every step needs to be painfully discovered by deep introspection….

Of course Joel says this so much better: Joel on Rails

try reinstalling rake instead…

Using a shared gemset between two projects may be a bad idea, not sure. After installing vhochstein’s Rails3 branch of ActiveScaffold in the second project (tho not sure that was the key factor), I started getting this error on running rake db:migrate:

“no such file to load — net/https. Try running apt-get install libopenssl-ruby”

Tried many of the suggestions at without help…finally, decided it was rake at fault, just ran

gem install rake

(even though it was already installed), and the error went away…