Skip to content

Instantly share code, notes, and snippets.

@sowawa
Created April 28, 2012 03:45
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save sowawa/2515536 to your computer and use it in GitHub Desktop.
Save sowawa/2515536 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 1.9.3@rails-4.0
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"
@camelmasa
Copy link

おお。4.0.0か。

@sowawa
Copy link
Author

sowawa commented Jun 13, 2012

ですです。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment