Jeremiah Foster
2005-Dec-14 16:39 UTC
just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:
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:in `class_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:in `require__'' 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:in `require'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:182:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:181:in `each'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:181:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:167:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:166:in `each'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:166:in `activate'' 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:in `require_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 jeremiah-plrWv6UuuhSN7grqwE105A@public.gmane.org
Kent Sibilev
2005-Dec-14 19:00 UTC
Re: just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:
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. On Wednesday 14 December 2005 11:39, Jeremiah Foster wrote:> 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/dependen >cies.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.r >b:57 from > /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.r >b:55:in `class_eval'' from > /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.r >b:55:in `class_eval'' from > /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.r >b:55 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require__'' 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/dependen >cies.rb:214:in `require'' from > /usr/local/lib/site_ruby/1.8/rubygems.rb:182:in `activate'' from > /usr/local/lib/site_ruby/1.8/rubygems.rb:181:in `each'' from > /usr/local/lib/site_ruby/1.8/rubygems.rb:181:in `activate'' from > /usr/local/lib/site_ruby/1.8/rubygems.rb:167:in `activate'' from > /usr/local/lib/site_ruby/1.8/rubygems.rb:166:in `each'' from > /usr/local/lib/site_ruby/1.8/rubygems.rb:166:in `activate'' 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:in `require_gem'' from > /usr/bin/rails:17 > > > Same error when the above command is run as root. > > Any help much appreciated. > > Best regards, > Jeremiah