RubyConf Presentations!

E

Ezra Zygmuntowicz

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:

And rss feed:

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
509-577-7732
(e-mail address removed)
 
U

Unnsse Khan

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)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require'
from /usr/lib/ruby/1.8/yaml/syck.rb:5
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require__'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require'
from /usr/lib/ruby/1.8/yaml.rb:9
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require__'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/package.rb:6
... 13 levels...
from setup.rb:887:in `exec_install'
from setup.rb:705:in `invoke'
from setup.rb:674:in `invoke'
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)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require'
from /usr/lib/ruby/1.8/yaml/syck.rb:5
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require__'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require'
from /usr/lib/ruby/1.8/yaml.rb:9
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require__'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21: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:
21:in `require__'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21: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:
21:in `require__'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
21:in `require'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:61:in
`manage_gems'
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
 
U

Unnsse Khan

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
 
E

Ezra Zygmuntowicz

Unssee-
Set it in your /etc/profile.

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

and then go from there

Ezra

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

-Ezra Zygmuntowicz
WebMaster
Yakima Herald-Republic Newspaper
(e-mail address removed)
509-577-7732
 
U

Unnsse Khan

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
 
E

Ezra Zygmuntowicz

Unssee-
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

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

-Ezra Zygmuntowicz
WebMaster
Yakima Herald-Republic Newspaper
(e-mail address removed)
509-577-7732
 
U

Unnsse Khan

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Re RubyConf Presentation Audio 2
Re RubyConf for Stragglers 2
Double posts? 7
RubyConf 05 Audio and Video files resurrected! 1
rubyforge down? 3
RubyCocoa question 5
Regex help 5
Qt 4.0 ruby bindings? 3

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top