Cygwin + Rails + SQLite3
Cygwin | |
Ruby | 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin] |
SQLite3 | 3.6.2 |
RubyGems | 1.3.1 |
Ruby on Rails | 2.2.2 |
sqlite3-ruby | 1.2.4 |
RSpec | 1.1.12 |
RSpec on Rails | 1.1.12 |
rcov | 0.8.1.2.0 |
ZenTest | 4.0.0 |
Cygwin
[Devel]-[cygport]
[Devel]-[gcc]
[Interpreters]-[ruby] バイナリ+ソース
[Database]-[sqlite3]
[Database]-[libsqlite3-devel]
積んメモ: Cygwin で Rails
RubyGems
$ wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz $ tar xzvf rubygems-1.3.1.tgz $ cd rubygems-1.3.1 $ ruby setup.rb ruby: no such file to load -- ubygems (LoadError) $ echo $RUBYOPT -rubygems $ export RUBYOPT= $ echo $RUBYOPT $ ruby setup.rb $ gem --version 1.3.1 $ which gem /usr/bin/gem
Rails
$ gem install rails --no-rdoc --no-ri Successfully installed rake-0.8.4 Successfully installed activesupport-2.2.2 Successfully installed activerecord-2.2.2 Successfully installed actionpack-2.2.2 Successfully installed actionmailer-2.2.2 Successfully installed activeresource-2.2.2 Successfully installed rails-2.2.2 7 gems installed
sqlite3-ruby
$ gem install sqlite3-ruby --no-rdoc --no-ri Building native extensions. This could take a while... Successfully installed sqlite3-ruby-1.2.4 1 gem installed
RSpec
$ gem install rspec --no-rdoc --no-ri Successfully installed rspec-1.1.12 1 gem installed $ gem install rspec-rails --no-rdoc --no-ri Successfully installed rspec-rails-1.1.12 1 gem installed $ gem install rcov --no-rdoc --no-ri Building native extensions. This could take a while... Successfully installed rcov-0.8.1.2.0 1 gem installed $ gem install ZenTest --no-rdoc --no-ri Successfully installed ZenTest-4.0.0 1 gem installed
gems.github.com
$ gem sources -a http://gems.github.com http://gems.github.com added to sources $ gem sources *** CURRENT SOURCES *** http://gems.rubyforge.org/ http://gems.github.com
i18n_generators
$ gem install amatsuda-i18n_generators --no-rdoc --no-ri Successfully installed gettext-1.93.0 Successfully installed amatsuda-i18n_generators-0.5.0 2 gems installed