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

Incompatibility with Ruby 1.9 (?) #84

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.follow install steps from
http://code.google.com/p/rubycas-server/wiki/Downloads?tm=2
2. set up /etc/rubycas-server/config.yml
3.run rubycas-server

What version of RubyCAS-Server are you using?

gem list

*** LOCAL GEMS ***

activerecord (2.3.5)
activesupport (2.3.5)
builder (2.1.2)
gettext (2.1.0)
gunark-rubycas-server (0.8.0.20090812)
hoe (2.4.0)
json_pure (1.2.0)
locale (2.0.5)
markaby (0.5)
mysql (2.8.1)
picnic (0.8.1.1)
rack (1.0.1)
rake (0.8.7)
ruby-net-ldap (0.0.4)
rubyforge (2.0.3)

How is it installed (rubygem,manual install)?

rubygems

How are you running it (webrick, mongrel, passenger,etc.)?

webrick

If relevant, please paste your RubyCAS-Server config.yml file here.

I don't think it's relevant...

Please provide any additional information below.

sudo /usr/local/bin/rubycas-server
Loading picnic from rubygems...
DEPRECATION WARNING: require "activesupport" is deprecated and will be
removed in Rails 3. Use require "active_support" instead.. (called from
<top (required)> at
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/activesupport.rb:2)
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/depen
dencies.rb:156:in
`require':
/usr/local/lib/ruby/gems/1.9.1/gems/picnic-0.8.1.1/vendor/zuk-camping-2.0.200904
29/lib/camping.rb:11:
syntax error, unexpected tLABEL (SyntaxError)
p[0]==?/?@root+p:p end;def URL c='/',*a;c=R(c,...
                 ^
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/depen
dencies.rb:156:in
`block in require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/depen
dencies.rb:521:in
`new_constants_in'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/depen
dencies.rb:156:in
`require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/picnic-0.8.1.1/lib/picnic.rb:7:in `<top
(required)>'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/picnic-0.8.1.1/lib/picnic/cli.rb:3:in
`require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/picnic-0.8.1.1/lib/picnic/cli.rb:3:in
`<top (required)>'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/gunark-rubycas-server-0.8.0.20090812/bin/rub
ycas-server:5:in
`require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/gunark-rubycas-server-0.8.0.20090812/bin/rub
ycas-server:5:in
`<top (required)>'
        from /usr/local/bin/rubycas-server:19:in `load'
        from /usr/local/bin/rubycas-server:19:in `<main>'

Original issue reported on code.google.com by t...@tod.net on 16 Dec 2009 at 5:47

GoogleCodeExporter commented 8 years ago
Looks like a possible incompatibility with Ruby 1.9.... need to verify on this 
end.

Original comment by matt.zuk...@gmail.com on 16 Dec 2009 at 8:39

GoogleCodeExporter commented 8 years ago

Original comment by matt.zuk...@gmail.com on 8 Jun 2010 at 9:52

GoogleCodeExporter commented 8 years ago

Original comment by matt.zuk...@gmail.com on 30 Sep 2010 at 6:27

GoogleCodeExporter commented 8 years ago
New Sinatra version of RubyCAS-Server should work under Ruby 1.9.

Original comment by matt.zuk...@gmail.com on 21 Dec 2010 at 9:11