Hello Ive just installed rails (and ruby) on freeBSD(5.2). All went well... installed rubygem and the gems i needed for rails. When i test it get: 192# rails test /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ active_support/dependencies.rb:186:in `const_missing'': uninitialized constant ASCII (NameError) from /usr/local/lib/ruby/1.8/kconv.rb:11 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in`require__'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in`require'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/ lib/active_support/dependencies.rb:200:in `require'' from /usr/local/lib/ruby/1.8/base64.rb:14 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in`require__'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in`require'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/ lib/active_support/dependencies.rb:200:in `require'' ... 17 levels... from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in `require_gem_with_options'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem'' from /usr/local/bin/rails:17 Any ideas? Eoghan
Did you install via ports? With a couple of exceptions the ports tree has everything you would need. It looks like you missed a dependency somewhere. Chris On 9/18/05, eoghan <rails-JPH02XhdevJeoWH0uzbU5w@public.gmane.org> wrote:> > Hello > Ive just installed rails (and ruby) on freeBSD(5.2). All went well... > installed rubygem and the gems i needed for rails. When i test it get: > 192# rails test > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ > active_support/dependencies.rb:186:in `const_missing'': uninitialized > constant ASCII (NameError) > from /usr/local/lib/ruby/1.8/kconv.rb:11 > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:21:in`require__'' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:21:in`require'' > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/ > lib/active_support/dependencies.rb:200:in `require'' > from /usr/local/lib/ruby/1.8/base64.rb:14 > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:21:in`require__'' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:21:in`require'' > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/ > lib/active_support/dependencies.rb:200:in `require'' > ... 17 levels... > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in > `activate'' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in > `require_gem_with_options'' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in > `require_gem'' > from /usr/local/bin/rails:17 > > Any ideas? > Eoghan > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
> Hello > Ive just installed rails (and ruby) on freeBSD(5.2). All went well... > installed rubygem and the gems i needed for rails. When i test it get:How did you install rails? Did you use the port under /usr/ports/www/ rubygem-rails ? I have several 5.4 and 6.0 machines that run rails with no problems. Greets, Jonathan -- Jonathan Weiss http://blog.innerewut.de
what version of ruby are you using? I got the similar errors when using a pre-release version of ruby from ports of 1.8.2... cvsup your ports tree and upgrade ruby... I too have great success with FreeBSD 5.4 hosting multiple rails sites... On 9/18/05, Jonathan Weiss <jw-eM0Q5iXcOashFhg+JK9F0w@public.gmane.org> wrote:> > > Hello > > Ive just installed rails (and ruby) on freeBSD(5.2). All went well... > > installed rubygem and the gems i needed for rails. When i test it get: > > How did you install rails? Did you use the port under /usr/ports/www/ > rubygem-rails ? > > I have several 5.4 and 6.0 machines that run rails with no problems. > > Greets, > Jonathan > > -- > Jonathan Weiss > http://blog.innerewut.de > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- "Force Feedback Computing Since 1984" http://www.modelm.org http://www.clubpacswestmi.net/sweeney/ http://www.clubpacswestmi.net _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Ron Sweeney wrote:> what version of ruby are you using? I got the similar errors when using > a pre-release version of ruby from ports of 1.8.2... > > cvsup your ports tree and upgrade ruby... > > I too have great success with FreeBSD 5.4 hosting multiple rails sites...Hi Thanks all for the replies. Im using ruby 1.8.2. Initially I was getting an error running rails test that my ruby version was not up-to-date (was 1.8.2 but a build too old to work)... so I upgraded. I downloaded the source and did the ./configure myself. I didnt use any ports to do installs (ruby/gems etc)... just cos I couldnt find rails in my ports tree :) I think ill do an update on my ports tree and try again. Thanks Eoghan