Skip to content

Instantly share code, notes, and snippets.

@ScottRadcliff
Forked from sowawa/.recipe
Created October 17, 2012 20:35
Show Gist options
  • Save ScottRadcliff/3907984 to your computer and use it in GitHub Desktop.
Save ScottRadcliff/3907984 to your computer and use it in GitHub Desktop.
Installing rails 4.0.0 beta
thumbnail: http://pds.exblog.jp/pds/1/201101/16/02/d0055302_13383029.jpg
video: http://www.youtube.com/watch?v=UE27t_LJpx0

Installing rails 4.0.0 beta

Gist で簡単にレシピを書いてみる。

making

rvmを用意してとりあえずRailsのHeadをGithubからとってくる。

rvm install
rvm 1.9.3
rvm gemset create rails-4.0
rvm [email protected]
git clone https://github.com/rails/rails.git
gem install thor
ruby ./rails/railties/bin/rails new hoge --dev
cd hoge
bundle exec rails s

cloning

hoge

cd repos
git clone https://github.com/rails/rails.git
git clone git://gist.github.com/2516882.git hoge
cd hoge
ln -s ~/repos/rails
# vim Gemfile
# edit rails path => '~/repos/rails'
bundle install
bundle exec rails s

install rspec

bundle exec rails generate rspec:install
vim Gemfile
# gem "rspec-rails"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment