Ezra, Ok... I follwed your instructions with the ruby 1.8.3 stable release and I can seem to find where to specify my the /usr/local/bin and / usr/local/sbin/ before /usr/bin/ and /usr/sbin on my PATH... My .profile: Raven:~ untz$ cat .profile alias vim="/Applications/Vim.app/Contents/MacOS/Vim" alias gvim="/Applications/Vim.app/Contents/MacOS/Vim -g" test -r /sw/bin/init.sh && . /sw/bin/init.sh My .bash_profile: Raven:~ untz$ cat .bash_profile . ~/.profile JAVA_HOME="/System/Library/frameworks/JavaVM.framework/Versions/1.5.0/ Home"; J2EE_HOME="/Developer/JavaTools/j2sdkee1.3.1"; J2ME_HOME="/Developer/JavaTools/j2me_wireless_toolkit2.2"; CATALINA_HOME="/Developer/JavaTools/tomcat/jakarta-tomcat-5.5.9"; CLASSPATH=.:"$J2EE_HOME/lib/j2ee.jar":"$CATALINA_HOME/common/lib/ servlet-api.jar":"$CATALINA_HOME/common/lib/jsp-api.jar":"/Developer/ Database/hsqldb/lib/hsqldb.jar"; PATH=$PATH:$JAVA_HOME/bin:$J2EE_HOME/bin:$J2ME_HOME/bin:/usr/local/ bin:/opt/local/bin; VIMRUNTIME="/Applications/Vim.app/runtime"; export JAVA_HOME J2ME_HOME J2EE_HOME CATALINA_HOME PATH VIMRUNTIME bash Raven:~ untz$ Also, per your instruction, my new ruby install is under: /usr/local/ instead of /usr/local/ruby How can I change this / install to /usr/local/ruby? In addition, I cd'ed into /usr/local/bin/ directory and ran irb and it still doesn't do the irb "tab completion".... I haven't installed RubyGems, yet because I want to do this step-by-step before proceeding... Kindest regards, Unnsse On Oct 14, 2005, at 5:19 PM, Ezra Zygmuntowicz wrote: > Unnsse- > Seeing as this problem will not go away, I think you really > should install ruby and gems from source again but this time do not > tell them to install with --prefix=/usr. Just let them install > where they want to (which is /usr/local/) so use the steps I sent > you before for installing from source but use this line for the > configure of ruby instead of with the --prefix=/usr: > > $ ./configure > $ make > $ make test > $ make install > > Then do the gem install but don't add the --prefix=/usr option. > > After you do this, then you will need to change you $PATH so that / > usr/local/bin and /usr/local/sbin comes before /usr/bin and /usr/ > sbin in your $PATH. > If you do this everything should work again. If not one other > thing I can suggest to try is to install ruby and gems from darwin > ports. But then you will have to put /opt/local/bin in front of > your path as well. Try these options and let me know how it goes. > All the installs I have on my OSX boxes are installed in /usr/local/ > bin. That is where ruby likes to install by default. > > > -Ezra > > On Oct 14, 2005, at 5:04 PM, Unnsse Khan wrote: > > >> Thanks but when I installed this package and tried to invoke gem >> or rails from the command line, this is what I got: >> >> Raven:~ untz$ rails >> /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/ >> dependencies.rb:186:in `const_missing': uninitialized constant >> ActiveRecordError (NameError) >> from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/ >> active_record/validations.rb:2 >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require__' >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require' >> from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ >> active_support/dependencies.rb:200:in `require' >> from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/ >> active_record.rb:37 >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require__' >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require' >> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:175:in >> `activate' >> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:162:in >> `activate' >> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:161:in `each' >> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:161:in >> `activate' >> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:37:in >> `require_gem_with_options' >> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:31:in >> `require_gem' >> from /usr/bin/rails:17 >> Raven:~ untz$ gem >> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in >> `require__': No such file to load -- syck (LoadError) >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require' >> from /usr/lib/ruby/1.8/yaml/syck.rb:5 >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require__' >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require' >> from /usr/lib/ruby/1.8/yaml.rb:9 >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require__' >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require' >> from /usr/lib/ruby/site_ruby/1.8/rubygems/package.rb:6 >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require__' >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require' >> from /usr/lib/ruby/site_ruby/1.8/rubygems/builder.rb:1 >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require__' >> from /usr/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:18:in `require' >> from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:61:in >> `manage_gems' >> from /usr/bin/gem:4 >> Raven:~ untz$ >> >> Sorry, it didn't work... what am I missing in the >> custom_require.rb file? >> >> Regards, >> >> Unnsse >> >> On Oct 14, 2005, at 4:51 PM, Ezra Zygmuntowicz wrote: >> >> >> >>> <Ruby on Rails Installer-1.pkg> >>> >>> >> >> >> >> > > -Ezra Zygmuntowicz > Yakima Herald-Republic > WebMaster > http://yakimaherald.com > 509-577-7732 > ezra / yakima-herald.com > > > >