Skip to content

Instantly share code, notes, and snippets.

@breckenedge
Created July 3, 2012 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save breckenedge/3037177 to your computer and use it in GitHub Desktop.
Save breckenedge/3037177 to your computer and use it in GitHub Desktop.
installing rails 4 beta in wondows
@echo OFF
REM Run as administrator, I think :-/
REM Download and install ruby 1.9.3
REM Download and install devkit: ruby dk.rb init & ruby dk.rb install
call gem install rake -v 0.9.2.2 --no-ri --no-rdoc
call gem install json -v 1.7.3 --no-ri --no-rdoc
call gem install rdoc -v 3.12 --no-ri --no-rdoc
call gem install jquery-rails -v 2.0.2 --no-ri --no-rdoc
REM ytf does this have old rails 3.2.6 requirements
call gem install sprockets -v 2.4.4 --no-ri --no-rdoc
call gem install sqlite3 -v 1.3.6 --no-ri --no-rdoc
call gem install uglifier -v 1.2.6 --no-ri --no-rdoc
call git clone git://github.com/rails/rails.git --depth 1
cd rails
cd activesupport
call gem build activesupport.gemspec
call gem install activesupport --no-ri --no-rdoc
cd ..
cd activemodel
call gem build activemodel.gemspec
call gem install activemodel --no-ri --no-rdoc
cd ..
cd activerecord
call gem build activerecord.gemspec
call gem install activerecord --no-ri --no-rdoc
cd ..
cd actionpack
call gem build actionpack.gemspec
call gem install actionpack --no-ri --no-rdoc
cd ..
cd actionmailer
call gem build actionmailer.gemspec
call gem install actionmailer --no-ri --no-rdoc
cd ..
cd railties
call gem build railties.gemspec
call gem install railties --no-ri --no-rdoc
cd ..
call gem build rails.gemspec
call gem install rails
cd ..
call git clone git://github.com/rails/active_record_deprecated_finders.git --depth 1
cd active_record_deprecated_finders
call gem build active_record_deprecated_finders.gemspec
call gem install active_record_deprecated_finders --no-ri --no-rdoc
cd ..
call git clone git://github.com/rails/sass-rails.git --depth 1
cd sass-rails
call gem build sass-rails.gemspec
call gem install sass-rails --no-ri --no-rdoc
cd ..
call git clone git://github.com/rails/coffee-rails.git --depth 1
cd coffee-rails
call gem build coffee-rails.gemspec
call gem install coffee-rails --no-ri --no-rdoc
cd ..
call rails new myawesomeapp
cd myawesomeapp
call bundle install
REM Ready to effing ROCK!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment