2009-09-12から1日間の記事一覧

Ruby on Rails のアプリを公開するときの設定

vi /etc/httpd/conf/httpd.conf /DocumentRootで検索し、定義の最後に # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be u…

Centosへのgitのインストール

cd /usr/local/src wget http://www.kernel.org/pub/software/scm/git/git-1.6.4.tar.gz tar zxvf git-1.6.0.tar.gz cd git-1.6.0 ./configure make sudo make install

rails 2.2以降でrake db:migrateに失敗する場合

rake db:create (in /home/user/railsapp) !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. rake aborted! no such file to load -- mysql こんなエラーに出くわした場…