Bulk updating gem

I downloaded the Ruby One-Click Installer and installed it.

The talk was in his usual straightforward and well-reasoned style and I found myself agreeing with most of it.

That is unless we can figure out a way to have these records imported quickly.create_table "products", force: :cascade do |t| t.string "sku", null: false t.string "name", null: false t.string "origin", null: false t.integer "msrp_cents", null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false end add_index "products", ["sku"], name: "index_products_on_sku", unique: true, using: :btree field to be unique, and the other fields to not be null.

The CLI is distributed on Linux as part of the # 14.04 Trusty (64-bit only) $ curl -L https://toolbelt.treasuredata.com/sh/install-ubuntu-trusty-td-agent2| sh # 12.04 Precise $ curl -L https://toolbelt.treasuredata.com/sh/install-ubuntu-precise-td-agent2| sh # 10.04 Lucid $ curl -L https://toolbelt.treasuredata.com/sh/install-ubuntu-lucid-td-agent2| sh # Debian Squeeze (64-bit only) $ curl -L https://toolbelt.treasuredata.com/sh/install-debian-squeeze-td-agent2| sh # Debian Wheezy (64-bit only) $ curl -L https://toolbelt.treasuredata.com/sh/install-debian-wheezy-td-agent2| sh , different versions of the td CLI may be confined within each project / environment / ruby version in use and you may have to install the td gem multiple times.

Please refer to the Upgrading, Ruby Gem section below for more information.

I've written previously on how slow gem install was, which has been causing me much annoyance.

But the tradeoff of having ease of installation for all the useful libraries that Ruby offers is just too hard to not fall back to using Ruby Gems again.

Leave a Reply