Wolfgang Klinger
2005-May-15 12:04 UTC
Debian stable - problems running Rails with Ruby backports
Hi I installed Ruby 1.8.2 on Debian stable with backports from http://sourcepole.ch/sources/software/debian/; ruby and rubygems works, I successfully installed the latest Rails release, but when I try to run "rails", I get the following error: ------- /usr/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_view.rb:36: uninitialized constant ActionView::Base (NameError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/dependencies.rb:197:in `require'' from /usr/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_controller.rb:51 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.0.4/lib/active_support/dependencies.rb:197:in `require'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:175:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:162:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:161:in `each'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:161: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 ------- Any help appreciated! tia kind regards Wolfgang
Ioan Bizau jr.
2005-May-15 13:40 UTC
Re: Debian stable - problems running Rails with Ruby backports
On Sunday 15 May 2005 03:04 pm, Wolfgang Klinger wrote:> /usr/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_view.rb:36: > uninitialized constant ActionView::Base (NameError)I had the same problem on Ubuntu. It''s because Debian (based distros) split Ruby into several packages and you haven''t installed all of them. This might help: http://www.codecomments.com/archive327-2005-1-372622.html -- Ioan Bizau jr. http://ib.stalker.ro _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Adam Majer
2005-May-15 16:11 UTC
Re: Debian stable - problems running Rails with Ruby backports
Wolfgang Klinger wrote:> Hi > > I installed Ruby 1.8.2 on Debian stable with backports from > http://sourcepole.ch/sources/software/debian/; > ruby and rubygems works, I successfully installed the latest Rails > release, but when I try to run "rails", I get the following error: > >You might try to install the rails package from Debian, http://packages.debian.org/unstable/web/rails which has a list of all the dependencies you probably need. - Adam
Wolfgang Klinger
2005-May-15 18:32 UTC
Re: Debian stable - problems running Rails with Ruby backports
Hi! On Sun, 15 May 2005, Ioan Bizau jr. wrote the following:> I had the same problem on Ubuntu. It''s because Debian (based distros) split > Ruby into several packages and you haven''t installed all of them. > > This might help: http://www.codecomments.com/archive327-2005-1-372622.htmlYou saved my day!! Here''s the list of backport .debs I installed now to make it work: ----- irb1.8_1.8.2-2.1_all.deb libdrb-ruby1.8_1.8.2-2.1_all.deb liberb-ruby1.8_1.8.2-2.1_all.deb libiconv-ruby1.8_1.8.2-2.1_i386.deb libopenssl-ruby1.8_1.8.2-2.1_i386.deb libreadline-ruby1.8_1.8.2-2.1_i386.deb librexml-ruby1.8_1.8.2-2.1_all.deb libruby1.8-dbg_1.8.2-2.1_i386.deb libruby1.8_1.8.2-2.1_i386.deb libstrscan-ruby1.8_1.8.2-2.1_i386.deb libtest-unit-ruby1.8_1.8.2-2.1_all.deb libxmlrpc-ruby1.8_1.8.2-2.1_all.deb libyaml-ruby1.8_1.8.2-2.1_i386.deb libzlib-ruby1.8_1.8.2-2.1_i386.deb rdoc1.8_1.8.2-2.1_all.deb ruby1.8-dev_1.8.2-2.1_i386.deb ruby1.8_1.8.2-2.1_i386.deb ----- I''ll put this on the Wiki... Thanks! kind regards Wolfgang