Skip to content

Instantly share code, notes, and snippets.

@zhengjia
Created September 9, 2010 04:05
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 zhengjia/571358 to your computer and use it in GitHub Desktop.
Save zhengjia/571358 to your computer and use it in GitHub Desktop.
running on rails3 edge
git submodule add git://github.com/rails/rails.git vendor/rails
git submodule add git://github.com/rack/rack.git vendor/rack
git submodule add git://github.com/rails/arel.git vendor/arel
ruby vendor/rails/bin/rails new . --dev
#Generated Gemfile
#gem 'rails', :path => '/Users/zjia/.rvm/gems/ruby-1.9.2-p0/gems'
#gem 'arel', :git => 'git://github.com/rails/arel.git'
bundle check
bundle install
#Updating
cd vendor/rails
git remote update
git merge origin/master
rake rails:update
#initialize the git submodules. This is quite easy:
git submodule init
git submodule update
-------
Gemfile
-------
gem 'rails', :path => 'vendor/rails'
gem 'rack', :path => 'vendor/rack'
gem 'arel', :path => 'vendor/arel'
gem 'sqlite3-ruby', :require => 'sqlite3'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
gem 'ruby-debug19'
# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'sqlite3-ruby', :require => 'sqlite3'
# gem 'aws-s3', :require => 'aws/s3'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
# group :development, :test do
# gem 'webrat'
# end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment