Saturday, April 30, 2011

From Sinatra to Rails

... and from Sequel to ActiveRecord.

I don't know why but Rails 3.1 beta reminds me a Heffalump. Create a new project, uncomment in Gemfile 'edge Rails' lines and type bundle install --path vendor. And then type:

$ bundle list|grep '\* '|wc -l
   39
$ bundle list
Gems included by the bundle:
  * actionmailer (3.1.0.beta)
  * actionpack (3.1.0.beta)
  * activemodel (3.1.0.beta)
  * activerecord (3.1.0.beta)
  * activeresource (3.1.0.beta)
  * activesupport (3.1.0.beta)
  * ansi (1.2.3)
  * arel (2.0.7.beta.20110429111451 6330a18)
  * bcrypt-ruby (2.1.4)
  * builder (3.0.0)
  * bundler (1.0.12)
  * coffee-script (2.2.0)
  * coffee-script-source (1.0.1)
  * erubis (2.7.0)
  * execjs (0.3.0)
  * hike (0.7.1)
  * i18n (0.6.0beta1)
  * json (1.5.1)
  * mail (2.3.0)
  * mime-types (1.16)
  * multi_json (1.0.0)
  * polyglot (0.3.1)
  * rack (1.2.1 37d2b2f)
  * rack-cache (1.0.1)
  * rack-mount (0.7.2)
  * rack-ssl (1.3.2)
  * rack-test (0.5.7)
  * rails (3.1.0.beta cc35d5c)
  * railties (3.1.0.beta)
  * rake (0.8.7)
  * sass (3.1.1)
  * sprockets (2.0.0 ebd683e)
  * sqlite3 (1.3.3)
  * thor (0.14.6)
  * tilt (1.3)
  * treetop (1.4.9)
  * turn (0.8.2)
  * tzinfo (0.3.27)
  * uglifier (0.5.1)

'We are not amused.'

https://lh4.googleusercontent.com/_W-OHaMHyRAE/TbxkEsh1cbI/AAAAAAAAAQM/0om-5GfLtsU/s800/rails-and-sinatra.jpg

No comments:

Post a Comment