Bon voila je veux essayer rails à l’installation j’ai quelques lignes
inquiètantes à la fin :
[root@localhost toto]# gem install rails --include-dependencies
Attempting local installation of ‘rails’
Local gem file not found: rails*.gem
Attempting remote installation of ‘rails’
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-1.1.6
Successfully installed rake-0.7.1
Successfully installed activesupport-1.3.1
Successfully installed activerecord-1.14.4
Successfully installed actionpack-1.12.5
Successfully installed actionmailer-1.2.5
Successfully installed actionwebservice-1.1.6
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require__': no such file to load -- rdoc/rdoc (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require’
from /usr/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:43:in
generate_rdoc' from /usr/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:215:in
execute’
from /usr/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:214:in
each' from /usr/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:214:in
execute’
from /usr/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:153:in
each' from /usr/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:153:in
execute’
from /usr/lib/ruby/site_ruby/1.8/rubygems/command.rb:49:in
invoke' from /usr/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:94:in
process_args’
from /usr/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:67:in
run' from /usr/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:13:in
run’
from /usr/bin/gem:17
et évidemment durant mon premier exercice je retrouve ça :
127.0.0.1 - - [18/Nov/2006:18:53:49 CET] “GET /say/hello HTTP/1.1” 200 0
- → /say/hello
[2006-11-18 18:53:49] ERROR MissingSourceFile: no such file to load –
irb
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require__' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
require' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/breakpoint.rb:18 /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in
load’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in
load' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:56:in
require_or_load’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:30:in
depend_on' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:85:in
require_dependency’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:98:in
const_missing' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in
const_missing’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
send' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
const_missing’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:75:in
reset_after_dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:46:in
dispatch’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/webrick_server.rb:115:in
handle_dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/webrick_server.rb:81:in
service’
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:inservice' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in
run’
/usr/lib/ruby/1.8/webrick/server.rb:173:instart_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in
start’
/usr/lib/ruby/1.8/webrick/server.rb:162:instart_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in
start’
/usr/lib/ruby/1.8/webrick/server.rb:92:ineach' /usr/lib/ruby/1.8/webrick/server.rb:92:in
start’
/usr/lib/ruby/1.8/webrick/server.rb:23:instart' /usr/lib/ruby/1.8/webrick/server.rb:82:in
start’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/webrick_server.rb:67:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/servers/webrick.rb:59 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require__’
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
require’
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/server.rb:30
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require__' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require’
script/server:3
et mon browser reste blanc…
Une idée où j’ai pu merder?
Merci à vous.
Toto84