Sha256: acecf1de86adb9d6d04e6a542ac8e3d130da56852ba9be8323de301a0f39df83
Contents?: true
Size: 500 Bytes
Versions: 8
Compression:
Stored size: 500 Bytes
Contents
#!/usr/bin/env ruby # I'm using this file because at the time of writing, the Rails 3 exec file # doesn't allow for running older versions side by side require 'rubygems' version = ">= 0" if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then version = $1 ARGV.shift end if version =~ /^3|[^.]3/ # Rails 3... gem 'railties', version load Gem.bin_path('railties', 'rails', version) else # ... pre Rails 3 gem 'rails', version load Gem.bin_path('rails', 'rails', version) end
Version data entries
8 entries across 8 versions & 1 rubygems