Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@camelmasa camelmasa commented Jun 13, 2012

おお。4.0.0か。

@sowawa

This comment has been minimized.

Copy link
Owner Author

@sowawa sowawa commented Jun 13, 2012

ですです。

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