Tag: ruby
-
Featured In Rubyology Podcast #48
The talk I gave at yesterday’s Phoenix Rails meeting will be featured in Rubyology Podcast #48, courtesy of Chris Matthieu. Thanks for the effort and kind words! The Mugr.com demo portion at the end got cut out unfortunately, but the meat of the technical discussion is available for your listening pleasure. Slides: Keynote PDF Listen…
-
Dynamically Generating SSL Certificates with Ruby on Rails
OpenRain had a couple projects recently need to programmatically generate private keys and SSL certificates in Ruby. To contribute back to the community, we’re releasing several small things today. SSLsicle.com A simple form which does the OpenSSL grunt work and pop outs an SSL certificate ready to use with Apache (or whatever). SSLsicle uses.. eassl_fix…
-
OS X Ruby Troubleshooting: "command not found: dot"
If you’re trying to run rdoc but are getting errors like.. Generating HTML… Diagrams: ./opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27: command not found: dot -Tismap dot/f_0.dot ./opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27: command not found: dot -Tismap dot/f_1.dot ..the package you need to install is called graphviz. You can install it using Darwin Ports on OS X like so.. sudo port install graphviz
-
5 Roadblocks To Enterprise Rails Acceptance
I love Rails for its pragmatic design and agile culture: two qualities not usually associated with the large, enterprisey systems of Fortune 500 companies. In my last formal position I was part of a small internal movement to drive the Rails train upward through the IT ranks, but the effort was met with limited success.…
-
Fixing "wrong number of arguments" Error w/Rails 1.2.3 Upgrade
If you’ve just upgraded your Rails gem from 1.2.2 to 1.2.3 and are getting the following error on database hits.. wrong number of arguments (1 for 0) /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/active_record/vendor/mysql.rb:566:in `initialize’ ..note that updating RAILS_GEM_VERSION in environment.rb appears to be required. Running a 1.2.2 application on 1.2.3 (even when 1.2.2 and all dependencies installed) will yield this…