Just installed rails on ubuntu, error creating rails dir -->


#1

Hello there good rails people!

Just did a fresh install of rails on my new (old) Ubuntu machine. I am
running ruby 1.8.2 and have installed about five extra packages that do
not come with Ubuntu. I managed to install ruby-gems and used gems to
successfully install rails but I am getting an error message when I run
rails, it seems to be choking on a Tkl paren. Google has not turned up
much documentation so I am turning to the mailing list.

Here is the error message:


rails /var/www/rail

/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
const_missing': uninitialized constant Soap (NameError) from /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.rb:57 from /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.rb:55:inclass_eval’
from
/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.rb:55:in
class_eval' from /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.rb:55 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire__’
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:inrequire’
from /usr/local/lib/site_ruby/1.8/rubygems.rb:182:in activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:181:ineach’
from /usr/local/lib/site_ruby/1.8/rubygems.rb:181:in activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:167:inactivate’
from /usr/local/lib/site_ruby/1.8/rubygems.rb:166:in each' from /usr/local/lib/site_ruby/1.8/rubygems.rb:166:inactivate’
from /usr/local/lib/site_ruby/1.8/rubygems.rb:37:in
require_gem_with_options' from /usr/local/lib/site_ruby/1.8/rubygems.rb:31:inrequire_gem’
from /usr/bin/rails:17

Same error when the above command is run as root.

Any help much appreciated.

Best regards,
Jeremiah

Jeremiah Foster
removed_email_address@domain.invalid


#2

Try to install soap4r package. Or better compile ruby yourself. For some
reasons, debian guys decided to split the ruby package into many many
small
pieces.

Kent.