ruby, rails 環境構築
windows 7 pro 64bit にRubyとRails3のインストール。
参考にしたのはこちら。
WindowsにRails3環境を構築(Ruby1.9.2) - 旧toyoshiの日記
rake エラー対応
tutorial で rake db:create するとエラーになった。
以下を参照して対応。
ruby on rails 3 - Heroku rake error - Stack Overflow
Here’s the error: rake aborted! uninitialized constant Rake::DSL /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2482:in const_missing ' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.1/lib/rake/tasklib.rb:8:in ' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.1/lib/rake/tasklib.rb:6:in `' Pin rake to 0.8.7 in your Gemfile gem 'rake', '0.8.7' Note, you’re probably already locked into 0.9.X, so you need to do a: bundle update rake
次は http://blog.everyleaf.com/27538644を参照してから
Getting Started with Rails — Ruby on Rails Guidesに移る予定。