· 1 min read
Screencast: Upgrade auf Rails 3 Teil 1
Download:
Download(35.3 MB, 11:56) Alternativer Download für iPod & Apple TV(28.2 MB, 11:56)
Resourcen:
Quellcode:
[bash] rvm update rvm reload rvm install 1.9.2 gem install rails —pre rvm system script/plugin install git://github.com/rails/rails_upgrade.git rails -v rake rails:upgrade:check rake rails:upgrade:backup rvm 1.9.2 rails new . -d mysql bundle install rails s [/bash]
[ruby] # config/application.rb class Object def returning(value) yield(value) value end end # … config.time_zone = ‘Pacific Time (US & Canada)’
# Gemfile gem “RedCloth”, ”>= 4.0”, :require => ‘redcloth’ gem “coderay” gem “acts_as_list” gem “will_paginate” gem “thinking-sphinx”, ”>= 2.0.0.rc1”, :require => ‘thinking_sphinx’ gem “whenever”, :require => false [/ruby]