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

Gem install appears to be broken #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

When I install rubycas via gem it does not detect dependencies then after I
install the missing dependencies (picnic and it's dependencies) and I  run
the the rubycas-server command after the install it gives the following error:

/usr/lib/ruby/gems/1.8/gems/picnic-0.8.0/lib/picnic/cli.rb:73:in
`handle_cli_input': options[:app_file] points to
"/usr/lib/ruby/gems/1.8/gems/picnic-0.8.0/lib/lib/rubycas-server.rb" but
this does not appear to be a valid Camping application!} (ArgumentError)
        from
/usr/lib/ruby/gems/1.8/gems/rubycas-server-0.7.1/bin/rubycas-server:26
        from /usr/bin/rubycas-server:19:in `load'
        from /usr/bin/rubycas-server:19

1.Installed via ruby gem
2.Which installs rubycas but without the dependancies
3.Installed picnic via gem not detected by the rubycas install
4.ran ~$ sudo rubycas-server 

I have also tried some obvious things like uninstall everything and
pre-install picnic and then install rubycas etc ... but I get the same "not
a camping application" error.

What version of RubyCAS-Server are you using? How is it installed (rubygem,
manual install)? How are you running it (webrick, mongrel, passenger,
etc.)?

version 0.7.1
Installed via rubygem.
Run from commandline ie ~$ sudo rubycas-server 

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

config.yml not relevant

Please provide any additional information below.

Gem is v 1.3
Ruby is 1.8.6 111
Picnic when installed is 0.8

I have been able to replicate the problem on windows and linux with the
same basic setup here's  run through

justin@swellspring:~$ sudo gem install rubycas-server
[sudo] password for justin:

For more information on RubyCAS-Server, see
http://code.google.com/p/rubycas-ser                                      
                              ver

Successfully installed rubycas-server-0.7.1
1 gem installed
Installing ri documentation for rubycas-server-0.7.1...
Installing RDoc documentation for rubycas-server-0.7.1...
justin@swellspring:~$ sudo rubycas-server
/usr/local/lib/site_ruby/1.8/rubygems.rb:628:in `report_activate_error':
Could n                                                                   
 ot find RubyGem picnic (>= 0) (Gem::LoadError)
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:139:in `activate'
        from /usr/local/lib/site_ruby/1.8/rubygems.rb:49:in `gem'
        from
/usr/lib/ruby/gems/1.8/gems/rubycas-server-0.7.1/bin/rubycas-server       
                                                             :16
        from /usr/bin/rubycas-server:19:in `load'
        from /usr/bin/rubycas-server:19
justin@swellspring:~$ sudo gem install picnic
Successfully installed builder-2.1.2
Successfully installed markaby-0.5
Successfully installed picnic-0.8.0
3 gems installed
Installing ri documentation for builder-2.1.2...
ERROR:  While generating documentation for builder-2.1.2
... MESSAGE:   Unhandled special: Special: type=17, text="<!-- HI -->"
... RDOC args: --ri --op /usr/lib/ruby/gems/1.8/doc/builder-2.1.2/ri
--title Builder -- Easy XML Building --main README --line-numbers --quiet
lib CHANGES Rakefile README doc/releases/builder-1.2.4.rdoc
doc/releases/builder-2.0.0.rdoc doc/releases/builder-2.1.1.rdoc
(continuing with the rest of the installation)
Installing ri documentation for markaby-0.5...
Installing ri documentation for picnic-0.8.0...
Installing RDoc documentation for builder-2.1.2...
Installing RDoc documentation for markaby-0.5...
Installing RDoc documentation for picnic-0.8.0...
justin@swellspring:~$ sudo rubycas-server
/usr/lib/ruby/gems/1.8/gems/picnic-0.8.0/lib/picnic/cli.rb:73:in
`handle_cli_input': options[:app_file] points to
"/usr/lib/ruby/gems/1.8/gems/picnic-0.8.0/lib/lib/rubycas-server.rb" but
this does not appear to be a valid Camping application!} (ArgumentError)
        from
/usr/lib/ruby/gems/1.8/gems/rubycas-server-0.7.1/bin/rubycas-server:26
        from /usr/bin/rubycas-server:19:in `load'
        from /usr/bin/rubycas-server:19

Thanks
Justin Wood

Original issue reported on code.google.com by kimbo...@gmail.com on 29 Mar 2009 at 4:25

GoogleCodeExporter commented 8 years ago
I'm getting the exact same problem about an invalid Camping application.

Original comment by arfon.sm...@gmail.com on 29 Mar 2009 at 7:51

GoogleCodeExporter commented 8 years ago
Hi,

I've already got the same problems, try to use the 0.7.0 version of Picnic.

Original comment by rousseau...@gmail.com on 30 Mar 2009 at 7:29

GoogleCodeExporter commented 8 years ago
Thanks Arnaud - that worked!

Original comment by arfon.sm...@gmail.com on 30 Mar 2009 at 8:25

GoogleCodeExporter commented 8 years ago
Yeah RubyCAS-Server 0.7.1 and Picnic 0.8.0 won't work. You'll need Picnic 0.7.0.

Alternatively, you could try installing the latest RubyCAS-Server build (0.8.0).
0.8.0 has a lot of new features and works with the newer Picnic version:

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

Original comment by matt.zuk...@gmail.com on 30 Mar 2009 at 8:24

GoogleCodeExporter commented 8 years ago
RubyCAS-Server 0.7.1.1 has been posted to RubyForge with a hard requirement for
Picnic 0.7.0. This should fix things for now until RubyCAS-Server 0.8.0 is 
released.

Original comment by matt.zuk...@gmail.com on 1 Apr 2009 at 4:22

GoogleCodeExporter commented 8 years ago
Hi
I do have the same problem (ruby 1.8.6 p114, gem 1.3.1, rails 2.2.2):
After following the quickstart guide: no installation of dependencies
After installing picnic 0.8.0
After uninstalling picnic 0.8.0 and installing 0.7.0
After uninstalling picnic and rubycas-server and reinstalling picnic 0.7.0 and 
rubycas-server 0.7.1.1

May i try rubycas-server 0.8 ?

thx, ju

Original comment by JuC...@gmail.com on 17 Apr 2009 at 3:17

GoogleCodeExporter commented 8 years ago
Issue 79 has been merged into this issue.

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

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:22