Skip to content

Instantly share code, notes, and snippets.

@ono
Created September 7, 2010 20:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ono/569027 to your computer and use it in GitHub Desktop.
Save ono/569027 to your computer and use it in GitHub Desktop.
# You have to define Gemspec files for Rails 2.3 libraries. A commit bellow will help it:
# http://github.com/jpzwarte/rails/commit/55ede36d8907f481b18fcefa21d099f69ae9965b
# Load rails from github
git 'git://github.com/reallyenglish/rails.git', :branch => '2-3-re', :ref => '1760b049f43ba2ab32eb47fdc42f5638115aeb8a' do
%w(active_support active_record action_pack action_mailer active_resource).each { |lib| gem lib.sub(/_/,''), '2.3.8', :require=>lib}
gem 'rails', '2.3.8'
end
# Load rails from your local
#gem 'rails', :path => '~/dev/rails'
#%w(active_support active_record action_pack action_mailer active_resource).each do |lib|
# lib_name = lib.sub /_/, ''
# gem lib_name, :require=>lib, :path=>"~/dev/rails/#{lib_name}"
#end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment