From: "Ara.T.Howard" Date: 2005-10-06T22:51:50+09:00 Subject: Re: traits question On Thu, 6 Oct 2005, itsme213 wrote: > How does one install traits 0.7? > > I tried > - ruby install.rb > and > - ruby install.rb setup ...(etc.) > > No error message in either case, but > require 'traits' > still fails (no such file to load). > > Thanks! hmmm. it shouldn't. all my packages install name-version.rb and name.rb so a require 'name-version' gets a specific version and a require 'name' gets whatever the latest. 'name' is always just a link to 'name-version.rb' may the link isn't working under windows? when i install it looks like this: jib:~/eg/ruby/traits/traits-0.7.0 > ruby install.rb lib/traits-0.7.0.rb -> /dmsp/reference/ruby-1.8.1//lib/ruby/site_ruby/traits-0.7.0.rb chmod 0644 /dmsp/reference/ruby-1.8.1//lib/ruby/site_ruby/traits-0.7.0.rb lib/traits.rb -> /dmsp/reference/ruby-1.8.1//lib/ruby/site_ruby/traits.rb chmod 0644 /dmsp/reference/ruby-1.8.1//lib/ruby/site_ruby/traits.rb so i see both files were copied. did that happen for you? if not simply cd into the lib dir before installing and do lib > rm traits.rb lib > cp traits-0.7.0.rb traits.rb and then run 'ruby install.rb' if that fixes your problem i can assume that links are not working under windows and i'd like to fix this - probably with a copy hack in the installer. so, first question, when you unpack the tgz are both files in the lib dir? if so are they both regular files? cheers. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================