PDA

View Full Version : [ubuntu] 8.0.4, problem: passenger (ruby,rails,apache2)



julienaubert
January 8th, 2009, 03:47 PM
I wanted to setup Redmine with Ruby and Apache. After following some guides I got:

gem --version
1.3.1
ruby --version ruby
1.8.6
rake --version rake, version
0.8.3

Which is what redmine requires, now I wanted to use passenger:

sudo passenger-install-apache2-module

which gave:
/usr/local/lib/site_ruby/1.8/rubygems.rb:636:in `report_activate_error': Could not find RubyGem test-spec (>= 0) (Gem::LoadError)

So I did:
sudo gem install test-spec

Iterating between: sudo passenger-install-apache2-module and sudo gem install <whatever pkg RubyGem did not find>

finally resulted in:

gem install mongrel

sudo passenger-install-apache2-module /usr/local/lib/site_ruby/1.8/rubygems.rb:636:in `report_activate_error': Could not find RubyGem ruby-openid (~> 2.0.0) (Gem::LoadError)

I tried installing ruby-openid 2.0.0 via gem but could not find it. I have googled but not found the answer.

Any help is appreciated!
Best regards,
Julien

julienaubert
January 11th, 2009, 08:09 PM
Maybe someone has some pointers of where I should/could go? I am out of ideas.

Best regards
Julien

julienaubert
January 15th, 2009, 10:23 PM
While it may have been obvious, for anyone as new as me, below is the solution.

(ps, reason for no answer on this? did my question fall under this-question-is-dumb-?)

downloaded manually ruby-openid-2.0.4.gem from [http://openidenabled.com/ruby-openid/releases/]

gem install ruby-openid -v 2.0.4

sudo passenger-install-apache2-module
/usr/local/lib/site_ruby/1.8/rubygems.rb:636:in `report_activate_error': Could not find RubyGem thin (>= 0) (Gem::LoadError)

gem install thin

sudo passenger-install-apache2-module

e voila!

qasimzee
February 19th, 2010, 12:06 PM
I have found this
http://blogs.embarcadero.com/markhowe/2009/05/06/33467

What you did if your problem is solved?