Letractively / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
0 stars 0 forks source link

rubycas-server run with this error: undefined method `require_gem' for class `Object' (NameError) #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install rubycas-server [sudo gem install rubycas-server]
2. /usr/bin/rubycas-server
3.
/Library/Ruby/Gems/1.8/gems/rubycas-server-0.7.1.1/bin/rubycas-server:12:
undefined method `require_gem' for class `Object' (NameError)
rom /usr/bin/rubycas-server:19:in `load'
from /usr/bin/rubycas-server:19

4. version of RubyCAS-Server : 0.7.1.1
5. running it on a terminal window after step 1 and 2 above

Original issue reported on code.google.com by jeannett...@gmail.com on 3 Apr 2009 at 11:00

GoogleCodeExporter commented 8 years ago
Something is off about your rubygems system. What version do you have installed 
(`gem
--version`). Try upgrading to the latest and see if that helps (I think it's 
`gem
upgrade --system` or something like that).

Original comment by matt.zuk...@gmail.com on 7 Apr 2009 at 3:05

GoogleCodeExporter commented 8 years ago
Have the same issue. Gem was updated to latest version, but problem still 
persists

monk$ gem --version
1.3.1

Original comment by aleksey....@gmail.com on 10 Apr 2009 at 2:36

GoogleCodeExporter commented 8 years ago
I have the same problem. Running rubycas-server on windows. gem list show 
0.7.1.1

Original comment by abhis...@gmail.com on 14 Apr 2009 at 11:43

GoogleCodeExporter commented 8 years ago
im getting the same error too

gem version is 1.3.1
rubycas version is rubycas-server (0.7.1.1)

Original comment by keiku...@gmail.com on 20 Apr 2009 at 3:34

GoogleCodeExporter commented 8 years ago
updated gem to version 1.3.2 and i still get the same problem

Original comment by keiku...@gmail.com on 20 Apr 2009 at 4:26

GoogleCodeExporter commented 8 years ago
i commented out line 12 of 
gems/1.8/gems/rubycas-server-0.7.1.1/bin/rubycas-server
and it works now

next minor problem i ran into was
http://code.google.com/p/rubycas-server/issues/detail?id=62

but it was manually fixed as per instruction of dlrush

Original comment by keiku...@gmail.com on 20 Apr 2009 at 4:48

GoogleCodeExporter commented 8 years ago
This is problem may be ruby versions reason.
I run Rubycas-server within ruby 1.8.6 (2008-03-03 patchlevel 114, it raise the
undefined method `require_gem' for class `Object' (NameError)

And i use a ruby patch (ruby 1.8.6 (2008-08-11 patchlevel 287) [i686-linux])
It works fine !

Original comment by hesenbr...@gmail.com on 1 Jun 2009 at 7:40

GoogleCodeExporter commented 8 years ago
I am facing the same problem with Ruby Version 1.8.7 (p72) and ruby gems 
version 1.3.1

rubycas-server version is 0.7.1.1

Original comment by arpitjai...@gmail.com on 1 Jun 2009 at 10:34

GoogleCodeExporter commented 8 years ago
Please use the dev version of the gem for now:

  gem sources -a http://gems.github.com
  sudo gem install gunark-rubycas-server

Original comment by matt.zuk...@gmail.com on 1 Jun 2009 at 2:23

GoogleCodeExporter commented 8 years ago
Using gunark-rubycas-server fixed this same problem for me on Solaris 10.  I 
loaded
ruby, rubydev, rubygems and mysql5 from opencsw (pkg-get).  Please be aware 
that I
had to use the "current (unstable)" library of opencsw.  The "stable" library 
does
not have the rubydev application package.

Original comment by shane.sw...@gmail.com on 30 Jun 2009 at 8:37