background preloader

Rubyonrails

Facebook Twitter

Multiple Ruby Version Support on Heroku. Maximizing parity between development and production environments is a best practice for minimizing surprises at deployment time. The version of language VM you're using is no exception. One approach to this is to specify it using the same dependency management tool used to specify the versions of libraries your app uses.

Clojure uses this technique with Leinigen, Scala with SBT, and Node.js with NPM. In each case, Heroku reads the dependency file during slug compile and uses the version of the language that you specify. Today, we're pleased to announce that we've added support for specifying a Ruby version to Gem Bundler, the dependency management tool for Ruby. This will allow you to specify a version of Ruby to be used in your Ruby app on Heroku. Try it out: $ gem install bundler --pre In your Gemfile: source ' ruby '1.9.3' gem 'rails', '3.2.3' Then: $ bundle install $ git add Gemfile $ git commit -m 'use Ruby 1.9.3' $ git push heroku master Patch Versions Thanks. Why’s (poignant) guide to ruby :: 4. Floating Little Leaves of C. Installing Ruby, Rubygems, Rails, and Mongrel on Mac OS X 10.5 ( Thursday, 28 February 2008 • Permalink Update: There is an updated version of this article for Snow Leopard here » These are instructions for compiling and installing Ruby, Rubygems, Ruby on Rails, and Mongrel on Mac OS X 10.5 (Leopard).

If you already know why I write these tutorials, if you already have /usr/local in your path, if you’ve installed XCode installed already … in other words, if you’re an old-school Hivelogic reader, just click here to jump right to the instructions. The FAQ (Sort Of) Below I’ll walk you through getting your system ready for building and compiling open source software. But before I do, please allow me to answer of few of the questions I invariably get asked every time I release this type of do-it-yourself tutorials: Why would I want to compile this stuff when it ships as part of Leopard? Good question! Then why roll your own? You want to run the latest/greatest versions of available software and don’t want to wait (or hope) for Apple to release an update.

Paths. Why's (Poignant) Guide to Ruby. Aintablog: Open Source Tumblogging/Feed Aggregation with Ruby on. Home - aintablog - GitHub.