From: Unnsse Khan Date: 2005-10-15T08:21:14+09:00 Subject: RubyGems install problem 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 On Oct 14, 2005, at 3:09 PM, Ezra Zygmuntowicz wrote: > Unnsse- > 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? > 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. > 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 > > 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/ ? > 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- >>> >>> 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 >>>> >>>> >>>> >>> >>> And rss feed: >>> >>> >>> >>>> 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 >>> http://yakimaherald.com >>> 509-577-7732 >>> ezra@yakima-herald.com >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > -Ezra Zygmuntowicz > Yakima Herald-Republic > WebMaster > http://yakimaherald.com > 509-577-7732 > ezra@yakima-herald.com > > > >