gem
Seems odd. It is possible to have the cygwin install include Ruby. Not so gem. So, ya gotta do it manually. There must be a good reason. Cygwin is seriously good stuff. The install is easy.
The idea is to install gem within the cygwin environment. The way to do this is to download a tar() file and run a setup file.
- Get the tar() file http://rubyforge.org/frs/?group_id=126
- Unwind the tarball "tar xvf
". For me, it was rubygems-1.3.1.tgz - cd() into the directory just created by the tar() operation
- Run a ruby script, "ruby setup.rb install"
gem() should now function at the command prompt. Try "type gem", which will display the gem execution path.
rails
Use gem() to install rails
- "ruby install rails -include_dependencies"
Verify by creating a test app. "rails test"
rake
It is highly likely you will also desire rake.
- gem install rake
No comments:
Post a Comment