Hi

Bonjour,

I've followed different tutos :
https://help.ubuntu.com/community/RubyOnRails
http://blog.lelevier.fr/redmine-sous-apache-avec-passenger/
http://doc.ubuntu-fr.org/redmine#servir_redmine_via_apache

trying to install ruby on rails and Redmine.

Everything looks fine till I try to access to :
http://192.168.60.10/redmine/

J'obtiens le message d'erreur suivant :

[code]Error message:
    Rails requires RubyGems >= 1.3.2 (you have 0.9.4). Please `gem
update --system` and try again.[/code]
[code]#    File    Line    Location
0   /opt/redmine/config/boot.rb   89   in `exit'
1   /opt/redmine/config/boot.rb   89   in `load_rubygems'
2   /opt/redmine/config/boot.rb   53   in `load_initializer'
3   /opt/redmine/config/boot.rb   38   in `run'
4   /opt/redmine/config/boot.rb   11   in `boot!'
5   /opt/redmine/config/boot.rb   110
6   /usr/lib/ruby/1.8/rubygems/custom_require.rb   27   in
`gem_original_require'
7   /usr/lib/ruby/1.8/rubygems/custom_require.rb   27   in `require'
8   /opt/redmine/config/environment.rb   11
9   /usr/lib/ruby/1.8/rubygems/custom_require.rb   27   in
`gem_original_require'
10   /usr/lib/ruby/1.8/rubygems/custom_require.rb   27   in `require'
11
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/railz/application_spawner.rb
303   in `preload_application'
12
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/railz/application_spawner.rb
252   in `initialize_server'
13
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/utils.rb
255   in `report_app_init_status'
14
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/railz/application_spawner.rb
237   in `initialize_server'
15
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/abstract_server.rb
194   in `start_synchronously'
16
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/abstract_server.rb
163   in `start'
17
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/railz/application_spawner.rb
213   in `start'
18
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/spawn_manager.rb
262   in `spawn_rails_application'
19
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/abstract_server_collection.rb
126   in `lookup_or_add'
20
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/spawn_manager.rb
256   in `spawn_rails_application'
21
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/abstract_server_collection.rb
80   in `synchronize'
22
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/abstract_server_collection.rb
79   in `synchronize'
23
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/spawn_manager.rb
255   in `spawn_rails_application'
24
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/spawn_manager.rb
154   in `spawn_application'
25
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/spawn_manager.rb
287   in `handle_spawn_application'
26
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/abstract_server.rb
352   in `__send__'
27
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/abstract_server.rb
352   in `main_loop'
28
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/lib/phusion_passenger/abstract_server.rb
196   in `start_synchronously'
29
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.10/bin/passenger-spawn-server
61[/code]
Alors que si je fais :
[code]gem list[/code]
j'ai bien la bonne version...
[code]*** LOCAL GEMS ***

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
fastthread (1.0.7)
mysql (2.8.1)
passenger (2.2.10)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rmagick (2.12.2)
rubygems-update (1.3.6)[/code]
idem pour
[code]gem environment[/code]
[code]RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.6
  - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
  - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/local/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /usr/local/lib/ruby/gems/1.8
     - /home/gabriel/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/[/code]

Where does he get "you have 0.9.4 ???"
Thank you by advance !

P.S :
I've also tried :
@SAVANE:/usr/bin$ /usr/local/bin/gem --version
1.3.6
@SAVANE:/usr/bin$ gem -v
1.3.6
@SAVANE:/usr/bin$

/usr/bin/gem --version
1.3.6

sudo update_rubygems
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to