# RubyConf Presentations!

**URL:** <https://rubytalk.org/t/rubyconf-presentations/21555>\
**Category:** ruby-talk\
**Created:** [14 October 2005 21:31 UTC](https://rubytalk.org/t/rubyconf-presentations/21555 "2005-10-14T21:31:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ezra\_Zygmuntowicz1](https://avatars.discourse-cdn.com/v4/letter/e/90db22/32.png) [@Ezra\_Zygmuntowicz1](https://rubytalk.org/u/Ezra_Zygmuntowicz1)\
**Post date:** [14 October 2005 21:31 UTC](https://rubytalk.org/t/rubyconf-presentations/21555/1 "2005-10-14T21:31:56Z")

</div>

Hey again listers-

```
 Just incase you haven't seen the other thread about this, we  

```

have a great thing going on here. The kind folks at RubyConf 2005 are  
making great quality recordings of the presentations right off the  
sound board. Then they are uploading them to my server for anyone who  
couldn’t make it to listen to!! Thanks Guys!!!

```
 We already have the first 3 presentations uploaded and ready for  

```

consumptions. Heres the info:

Typo Blog with downloads:

> [http://yhrhosting.com:7000](http://yhrhosting.com:7000)

And rss feed:

> [http://yhrhosting.com:7000/xml/rss/feed.xml](http://yhrhosting.com:7000/xml/rss/feed.xml)

```
 Keep checking back all weekend long. I will be posting all the  

```

presentations as they become available for the whole conference!!

Cheers-  
-Ezra Zygmuntowicz  
Yakima Herald-Republic  
WebMaster

> **[yakimaherald.com | Yakima, Washington - We Tell Your Stories](https://www.yakimaherald.com/)**

509-577-7732  
ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org

---

<div class="post-metadata">

**Author:** ![Unnsse\_Khan](https://avatars.discourse-cdn.com/v4/letter/u/c37758/32.png) [@Unnsse\_Khan](https://rubytalk.org/u/Unnsse_Khan)\
**Post date:** [14 October 2005 23:21 UTC](https://rubytalk.org/t/rubyconf-presentations/21555/2 "2005-10-14T23:21:14Z")

</div>

Ezra,

I did everything you told me to do and when I tried to run the setup for gems, this is what I got:

Raven:/Developer/Downloads/rubygems-0.8.11 root# ruby setup.rb  
---\> bin  
\<--- bin  
---\> lib  
---\> lib/rubygems  
\<--- lib/rubygems  
\<--- lib  
---\> bin  
adjusting shebang: gem\_mirror  
\<--- bin  
---\> lib  
---\> lib/rubygems  
\<--- lib/rubygems  
\<--- lib  
rm -f InstalledFiles  
---\> bin  
mkdir -p /usr/bin/  
install gem /usr/bin/  
install gem\_mirror /usr/bin/  
install gem\_server /usr/bin/  
install gemwhich /usr/bin/  
install generate\_yaml\_index.rb /usr/bin/  
install update\_rubygems /usr/bin/  
\<--- bin  
---\> lib  
mkdir -p /usr/lib/ruby/site\_ruby/1.8/  
install gemconfigure.rb /usr/lib/ruby/site\_ruby/1.8/  
install rubygems.rb /usr/lib/ruby/site\_ruby/1.8/  
install ubygems.rb /usr/lib/ruby/site\_ruby/1.8/  
---\> lib/rubygems  
mkdir -p /usr/lib/ruby/site\_ruby/1.8/rubygems  
install builder.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install cmd\_manager.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install command.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install config\_file.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install custom\_require.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install dependency\_list.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install deployment.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install doc\_manager.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install format.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install gem\_commands.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install gem\_openssl.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install gem\_runner.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install installer.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install loadpath\_manager.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install old\_format.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install open-uri.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install package.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install remote\_installer.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install rubygems\_version.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install security.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install source\_index.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install specification.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install timer.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install user\_interaction.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install validator.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
install version.rb /usr/lib/ruby/site\_ruby/1.8/rubygems  
\<--- lib/rubygems  
\<--- lib

As of RubyGems 0.8.0, library stubs are no longer needed.  
Searching $LOAD\_PATH for stubs to optionally delete (may take a while)...  
...done.  
No library stubs found.

/usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require\_\_': No such file to load -- syck (LoadError)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml/syck.rb:5  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require\_\_'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml.rb:9  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require\_\_'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/package.rb:6  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;... 13 levels...  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from setup.rb:887:in `exec\_install'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from setup.rb:705:in `invoke'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from setup.rb:674:in `invoke'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from setup.rb:1352  
Raven:/Developer/Downloads/rubygems-0.8.11 root#

When I opened a new shell and typed:

Raven:~ untz$ gem  
/usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require\_\_': No such file to load -- syck (LoadError)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml/syck.rb:5  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require\_\_'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml.rb:9  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require\_\_'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/package.rb:6  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require\_\_'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/builder.rb:1  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require\_\_'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:61:in `manage\_gems'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/bin/gem:4  
Raven:~ untz$

I got the same error message.... My RubyGems was working in the past....

Do you have any suggestions?

Kindest regards,

Unnsse

> **···**
>
> On Oct 14, 2005, at 3:09 PM, Ezra Zygmuntowicz wrote:
> 
> > Unnsse-  
> > &nbsp;&nbsp;&nbsp;&nbsp;I am very sorry the instruction don't seem to have worked. they have worked for me many times. Maybe we should remove ruby gems entirely and try again?  
> > &nbsp;&nbsp;&nbsp;&nbsp;RubyCOnf is in San Diego but I wasn't able to go this year(I live in WA state) so I am hosting the presentations for anyone else who was not able to go as well.  
> > &nbsp;&nbsp;&nbsp;&nbsp;I want to help you get you powerbook fixed. So I think at this point you might have conflicting installs going on with gems or something. So I think you should remove gems entirely and reinstall it again. In order to remove gems you will need to do these steps:
> > 
> > 1. Remove the gem and gem\_server commands  
> > $ sudo rm `which gem`  
> > $ sudo rm `which gem_server`
> > 
> > 2. Remove the gems lib files:  
> > $ sudo rm -Rf /usr/lib/ruby/gems
> > 
> > 3. Now re install gems with the instructions I sent you earlier.
> > 
> > 4 After you have reinstalled gems the install the fixrbconfig gem. This gem is supposed to fix the readlione issues and the c extension stuff for osx:
> > 
> > $ sudo gem install fixrbconfig
> > 
> > &nbsp;&nbsp;&nbsp;&nbsp;Hopefully that will work. Could you please let me know if it does? I will ride this thing our with you Unnsse. So lets work on it and we \_will\_ get you configuration correct.
> > 
> > Cheers-  
> > -Ezra
> > 
> > PS. Have you seen Locomotive: [http://locomotive.sourceforge.net/](http://locomotive.sourceforge.net/) ? It gives you a self contained ruby/rails/gems/lighttpd/sqlite/mysql environment all self contained in on osx .app bundle that you can just double click on to run everything. It doesn't install anything locally so it will work for sure. All you do is download it and double click and you have a full rails stack environmant to work with. It also gives you an easy place to start and stop the lighttpd server and to generate scaffolds from. Give it a try! But we will also fix your local ruby install as well...
> > 
> > On Oct 14, 2005, at 2:46 PM, Unnsse Khan wrote:
> > 
> > > Hi Ezra,
> > > 
> > > Is the RubyConf in San Diego? I live in San Diego and if you are here, perhaps, I could meet in a coffee shop and bring my PowerBook?
> > > 
> > > I am really sorry to have become frusturated, but put your self in my shoes....
> > > 
> > > Do you have \*ANY\* suggestions on how to fix my RubyGems problem?
> > > 
> > > Kindest regards,
> > > 
> > > Unnsse
> > > 
> > > On Oct 14, 2005, at 2:34 PM, Ezra Zygmuntowicz wrote:
> > > 
> > > > Hey again listers-
> > > > 
> > > > &nbsp;&nbsp;&nbsp;&nbsp;Just incase you haven't seen the other thread about this, we have a great thing going on here. The kind folks at RubyConf 2005 are making great quality recordings of the presentations right off the sound board. Then they are uploading them to my server for anyone who couldn't make it to listen to!! Thanks Guys!!!
> > > > 
> > > > &nbsp;&nbsp;&nbsp;&nbsp;We already have the first 3 presentations uploaded and ready for consumptions. Heres the info:
> > > > 
> > > > Typo Blog with downloads:
> > > > 
> > > > > [http://yhrhosting.com:7000](http://yhrhosting.com:7000)
> > > > 
> > > > And rss feed:
> > > > 
> > > > > [http://yhrhosting.com:7000/xml/rss/feed.xml](http://yhrhosting.com:7000/xml/rss/feed.xml)
> > > > 
> > > > &nbsp;&nbsp;&nbsp;&nbsp;Keep checking back all weekend long. I will be posting all the presentations as they become available for the whole conference!!
> > > > 
> > > > Cheers-  
> > > > -Ezra Zygmuntowicz  
> > > > Yakima Herald-Republic  
> > > > WebMaster  
> > > > [http://yakimaherald.com](http://yakimaherald.com)  
> > > > 509-577-7732  
> > > > ezra@yakima-herald.com
> > 
> > -Ezra Zygmuntowicz  
> > Yakima Herald-Republic  
> > WebMaster  
> > [http://yakimaherald.com](http://yakimaherald.com)  
> > 509-577-7732  
> > ezra@yakima-herald.com

---

<div class="post-metadata">

**Author:** ![Unnsse\_Khan](https://avatars.discourse-cdn.com/v4/letter/u/c37758/32.png) [@Unnsse\_Khan](https://rubytalk.org/u/Unnsse_Khan)\
**Post date:** [15 October 2005 02:06 UTC](https://rubytalk.org/t/rubyconf-presentations/21555/3 "2005-10-15T02:06:47Z")

</div>

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-  
> > &nbsp;&nbsp;&nbsp;&nbsp;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.  
> > &nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record/validations.rb:2  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:200:in `require'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record.rb:37  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:175:in `activate'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:162:in `activate'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `each'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `activate'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:37:in `require\_gem\_with\_options'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:31:in `require\_gem'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml/syck.rb:5  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml.rb:9  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/package.rb:6  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/builder.rb:1  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:61:in `manage\_gems'  
> > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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](http://yakimaherald.com)  
> > 509-577-7732  
> > ezra@yakima-herald.com

---

<div class="post-metadata">

**Author:** ![Ezra\_Zygmuntowicz3](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@Ezra\_Zygmuntowicz3](https://rubytalk.org/u/Ezra_Zygmuntowicz3)\
**Post date:** [15 October 2005 02:11 UTC](https://rubytalk.org/t/rubyconf-presentations/21555/4 "2005-10-15T02:11:18Z")

</div>

Unssee-  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set it in your /etc/profile.

PATH=/usr/local/bin:/usr/local/sbin:$PATH  
export PATH

and then go from there

Ezra

> **···**
>
> On Oct 14, 2005, at 7:06 PM, Unnsse Khan wrote:
> 
> > 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-  
> > > &nbsp;&nbsp;&nbsp;&nbsp;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.  
> > > &nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record/validations.rb:2  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:200:in `require'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record.rb:37  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:175:in `activate'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:162:in `activate'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `each'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `activate'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:37:in `require\_gem\_with\_options'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:31:in `require\_gem'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml/syck.rb:5  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml.rb:9  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/package.rb:6  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/builder.rb:1  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:61:in `manage\_gems'  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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](http://yakimaherald.com)  
> > > 509-577-7732  
> > > ezra@yakima-herald.com
> 
> -Ezra Zygmuntowicz  
> WebMaster  
> Yakima Herald-Republic Newspaper  
> ezra@yakima-herald.com  
> 509-577-7732

---

<div class="post-metadata">

**Author:** ![Unnsse\_Khan](https://avatars.discourse-cdn.com/v4/letter/u/c37758/32.png) [@Unnsse\_Khan](https://rubytalk.org/u/Unnsse_Khan)\
**Post date:** [15 October 2005 02:24 UTC](https://rubytalk.org/t/rubyconf-presentations/21555/5 "2005-10-15T02:24:26Z")

</div>

Ezra,

&nbsp;&nbsp;can't seem to write to it because its read-only (sorry, I am UNIX dummy...)

How do I unset the read-only attribute on this file?

Also, will ruby being in /usr/local/ pose a problem? I remember that subversion and other applications are in /usr/local/

so, isn't it better to make it so its /usr/local/ruby ?

also, how do I do the symbolic link for /usr/bin/ruby to point to /usr/bin/loca/ ?

Is it:

ln -s /usr/bin/ruby /usr/local/bin/ruby ?

will I be able to use the same:

&nbsp;&nbsp;#!/usr/bin/ruby -w

in my ruby programs?

Kindest regards,

Unnsse

> **···**
>
> On Oct 14, 2005, at 7:11 PM, Ezra Zygmuntowicz wrote:
> 
> > Unssee-  
> > &nbsp;&nbsp;&nbsp;&nbsp;Set it in your /etc/profile.
> > 
> > PATH=/usr/local/bin:/usr/local/sbin:$PATH  
> > export PATH
> > 
> > and then go from there
> > 
> > Ezra
> > 
> > On Oct 14, 2005, at 7:06 PM, Unnsse Khan wrote:
> > 
> > > 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-  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;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.  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record/validations.rb:2  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:200:in `require'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record.rb:37  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:175:in `activate'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:162:in `activate'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `each'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `activate'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:37:in `require\_gem\_with\_options'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:31:in `require\_gem'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml/syck.rb:5  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml.rb:9  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/package.rb:6  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/builder.rb:1  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:61:in `manage\_gems'  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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](http://yakimaherald.com)  
> > > > 509-577-7732  
> > > > ezra@yakima-herald.com
> > 
> > -Ezra Zygmuntowicz  
> > WebMaster  
> > Yakima Herald-Republic Newspaper  
> > ezra@yakima-herald.com  
> > 509-577-7732

---

<div class="post-metadata">

**Author:** ![Ezra\_Zygmuntowicz3](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@Ezra\_Zygmuntowicz3](https://rubytalk.org/u/Ezra_Zygmuntowicz3)\
**Post date:** [15 October 2005 02:48 UTC](https://rubytalk.org/t/rubyconf-presentations/21555/6 "2005-10-15T02:48:56Z")

</div>

Unssee-  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;You need to do this to edit the protected profile:

$ sudo pico /etc/profile

But you could also just add the path statements to you .bash\_profile at the bottom. In fact that is probably a better way of doing it.

If you installed ruby in /usr/local/bin/ruby then just putting the /usr/local/bin in the front of your path is enough and you dont need a symlink.

-Ezra

> **···**
>
> On Oct 14, 2005, at 7:24 PM, Unnsse Khan wrote:
> 
> > Ezra,
> > 
> > can't seem to write to it because its read-only (sorry, I am UNIX dummy...)
> > 
> > How do I unset the read-only attribute on this file?
> > 
> > Also, will ruby being in /usr/local/ pose a problem? I remember that subversion and other applications are in /usr/local/
> > 
> > so, isn't it better to make it so its /usr/local/ruby ?
> > 
> > also, how do I do the symbolic link for /usr/bin/ruby to point to /usr/bin/loca/ ?
> > 
> > Is it:
> > 
> > ln -s /usr/bin/ruby /usr/local/bin/ruby ?
> > 
> > will I be able to use the same:
> > 
> > #!/usr/bin/ruby -w
> > 
> > in my ruby programs?
> > 
> > Kindest regards,
> > 
> > Unnsse
> > 
> > On Oct 14, 2005, at 7:11 PM, Ezra Zygmuntowicz wrote:
> > 
> > > Unssee-  
> > > &nbsp;&nbsp;&nbsp;&nbsp;Set it in your /etc/profile.
> > > 
> > > PATH=/usr/local/bin:/usr/local/sbin:$PATH  
> > > export PATH
> > > 
> > > and then go from there
> > > 
> > > Ezra
> > > 
> > > On Oct 14, 2005, at 7:06 PM, Unnsse Khan wrote:
> > > 
> > > > 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-  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;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.  
> > > > > &nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record/validations.rb:2  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:200:in `require'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record.rb:37  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:175:in `activate'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:162:in `activate'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `each'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `activate'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:37:in `require\_gem\_with\_options'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:31:in `require\_gem'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml/syck.rb:5  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml.rb:9  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/package.rb:6  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/builder.rb:1  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:61:in `manage\_gems'  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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](http://yakimaherald.com)  
> > > > > 509-577-7732  
> > > > > ezra@yakima-herald.com
> > > 
> > > -Ezra Zygmuntowicz  
> > > WebMaster  
> > > Yakima Herald-Republic Newspaper  
> > > ezra@yakima-herald.com  
> > > 509-577-7732
> 
> -Ezra Zygmuntowicz  
> WebMaster  
> Yakima Herald-Republic Newspaper  
> ezra@yakima-herald.com  
> 509-577-7732

---

<div class="post-metadata">

**Author:** ![Unnsse\_Khan](https://avatars.discourse-cdn.com/v4/letter/u/c37758/32.png) [@Unnsse\_Khan](https://rubytalk.org/u/Unnsse_Khan)\
**Post date:** [15 October 2005 06:53 UTC](https://rubytalk.org/t/rubyconf-presentations/21555/7 "2005-10-15T06:53:57Z")

</div>

Ezra,

Ok... RubyGems works now but now, when I start irb and do this:

Raven:~ untz$ irb  
irb(main):001:0\> a = "Ruby rocks!"  
=\> "Ruby rocks!"  
irb(main):002:0\> a.rev

and click on tab, the cursor just remains fixed (right after the "v") and before, whereas, it would fill in the remaining word, and also wouldn't show me  
anymore choices for instance methods, the cursor would move four spaces (just like using tab on MS Word)...

We are back to square one, and the tab completion problem seems to still be broken but with different oddities......

Anyone else have any suggestions?

Kindest regards,

Unnsse

> **···**
>
> On Oct 14, 2005, at 7:48 PM, Ezra Zygmuntowicz wrote:
> 
> > Unssee-  
> > &nbsp;&nbsp;&nbsp;&nbsp;You need to do this to edit the protected profile:
> > 
> > $ sudo pico /etc/profile
> > 
> > But you could also just add the path statements to you .bash\_profile at the bottom. In fact that is probably a better way of doing it.
> > 
> > If you installed ruby in /usr/local/bin/ruby then just putting the /usr/local/bin in the front of your path is enough and you dont need a symlink.
> > 
> > -Ezra
> > 
> > On Oct 14, 2005, at 7:24 PM, Unnsse Khan wrote:
> > 
> > > Ezra,
> > > 
> > > can't seem to write to it because its read-only (sorry, I am UNIX dummy...)
> > > 
> > > How do I unset the read-only attribute on this file?
> > > 
> > > Also, will ruby being in /usr/local/ pose a problem? I remember that subversion and other applications are in /usr/local/
> > > 
> > > so, isn't it better to make it so its /usr/local/ruby ?
> > > 
> > > also, how do I do the symbolic link for /usr/bin/ruby to point to /usr/bin/loca/ ?
> > > 
> > > Is it:
> > > 
> > > ln -s /usr/bin/ruby /usr/local/bin/ruby ?
> > > 
> > > will I be able to use the same:
> > > 
> > > #!/usr/bin/ruby -w
> > > 
> > > in my ruby programs?
> > > 
> > > Kindest regards,
> > > 
> > > Unnsse
> > > 
> > > On Oct 14, 2005, at 7:11 PM, Ezra Zygmuntowicz wrote:
> > > 
> > > > Unssee-  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;Set it in your /etc/profile.
> > > > 
> > > > PATH=/usr/local/bin:/usr/local/sbin:$PATH  
> > > > export PATH
> > > > 
> > > > and then go from there
> > > > 
> > > > Ezra
> > > > 
> > > > On Oct 14, 2005, at 7:06 PM, Unnsse Khan wrote:
> > > > 
> > > > > 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-  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;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.  
> > > > > > &nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record/validations.rb:2  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active\_support/dependencies.rb:200:in `require'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active\_record.rb:37  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:175:in `activate'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:162:in `activate'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `each'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:161:in `activate'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:37:in `require\_gem\_with\_options'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:31:in `require\_gem'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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)  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml/syck.rb:5  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/1.8/yaml.rb:9  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/package.rb:6  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/builder.rb:1  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require\_\_'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:18:in `require'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:61:in `manage\_gems'  
> > > > > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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](http://yakimaherald.com)  
> > > > > > 509-577-7732  
> > > > > > ezra@yakima-herald.com
> > > > 
> > > > -Ezra Zygmuntowicz  
> > > > WebMaster  
> > > > Yakima Herald-Republic Newspaper  
> > > > ezra@yakima-herald.com  
> > > > 509-577-7732
> > 
> > -Ezra Zygmuntowicz  
> > WebMaster  
> > Yakima Herald-Republic Newspaper  
> > ezra@yakima-herald.com  
> > 509-577-7732
