Hello all; I am new to Rails and Linux in general. I am using Fedora Core 4 with all updates installed. I followed this http://digitalmediaminute.com/howto/fc4rails/ excellent tutorial. All of the steps worked fine until I got to the point where I had tried to create the Rails test application. I received the following message and no files were created: /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13:in `remove_const'': constant Logger::Format not defined (NameError) from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support.rb:31 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record.rb:29 from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from /usr/lib/site_ruby/1.8/rubygems.rb:182:in `activate'' from /usr/lib/site_ruby/1.8/rubygems.rb:181:in `activate'' from /usr/lib/site_ruby/1.8/rubygems.rb:167:in `activate'' from /usr/lib/site_ruby/1.8/rubygems.rb:166:in `activate'' from /usr/lib/site_ruby/1.8/rubygems.rb:37:in `require_gem_with_options'' from /usr/lib/site_ruby/1.8/rubygems.rb:31:in `require_gem'' from /usr/bin/rails:17 I have Rails 0.13 installed, Mysql and lighttpd installed. Any guidance for a Rails rookie? Thank you, Rob Bazinet
On 2005-10-18, at 2:05, Rob Bazinet wrote:> Hello all; > [...] > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/ > clean_logger.rb:13:in `remove_const'': constant Logger::Format not > defined (NameError)Check your Ruby version: ruby -v and if you have the latest 1.8.3 then you''re out of luck. There''s a little incompatibility between the latest Ruby and the current 0.13.1 Rails, look here for explanation and some help: <http://weblog.rubyonrails.com/archives/2005/09/21/ruby-1-8-3-has- been-released> And BTW, this is my first post on this group. Hello everyone. -- Rafał Komorowski komor-ee4meeAH724@public.gmane.org GG: 4083718 <http://homepage.mac.com/komor/iblog/>
Try running ruby --version If it''s 1.8.3 (I betcha it is with FC4 and yum updates) there is a known issue with Ruby v1.8.3 and Rails 0.13. Here''s the fix: http://dev.rubyonrails.org/ticket/2245 On Oct 17, 2005, at 8:05 PM, Rob Bazinet wrote:> Hello all; > > I am new to Rails and Linux in general. I am using Fedora Core 4 with > all updates installed. > > I followed this http://digitalmediaminute.com/howto/fc4rails/ > excellent > tutorial. All of the steps worked fine until I got to the point > where I > had tried to create the Rails test application. I received the > following message and no files were created: > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/ > clean_logger.rb:13:in `remove_const'': constant Logger::Format not > defined (NameError) > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ > active_support/clean_logger.rb:13 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ > active_support.rb:31 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > > from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/ > active_record.rb:29 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > from /usr/lib/site_ruby/1.8/rubygems.rb:182:in `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:181:in `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:167:in `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:166:in `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:37:in > `require_gem_with_options'' > from /usr/lib/site_ruby/1.8/rubygems.rb:31:in `require_gem'' > from /usr/bin/rails:17 > > I have Rails 0.13 installed, Mysql and lighttpd installed. > > Any guidance for a Rails rookie? > > Thank you, > Rob Bazinet > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
The patch at http://dev.rubyonrails.org/attachment/ticket/2263/clean_logger-1.8.3-compat-fix.patch fixed it. Running Fedora Core 4 with all the yum updates... --dave On 10/17/05, Rob Bazinet <rbazinet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello all; > > I am new to Rails and Linux in general. I am using Fedora Core 4 with > all updates installed. > > I followed this http://digitalmediaminute.com/howto/fc4rails/ excellent > tutorial. All of the steps worked fine until I got to the point where I > had tried to create the Rails test application. I received the > following message and no files were created: > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13:in > `remove_const'': constant Logger::Format not defined (NameError) > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1 > /lib/active_support/clean_logger.rb:13 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1 > /lib/active_support.rb:31 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > > from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1 > /lib/active_record.rb:29 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > from /usr/lib/site_ruby/1.8/rubygems.rb:182:in `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:181:in `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:167:in `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:166:in `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:37:in > `require_gem_with_options'' > from /usr/lib/site_ruby/1.8/rubygems.rb:31:in `require_gem'' > from /usr/bin/rails:17 > > I have Rails 0.13 installed, Mysql and lighttpd installed. > > Any guidance for a Rails rookie? > > Thank you, > Rob Bazinet > > > _______________________________________________ > 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
Thanks for the reply. Yes, I am using Ruby 1.8.3. -Rob On Tue, 2005-10-18 at 02:15 +0200, Rafał Komorowski wrote:> On 2005-10-18, at 2:05, Rob Bazinet wrote: > > > Hello all; > > [...] > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/ > > clean_logger.rb:13:in `remove_const'': constant Logger::Format not > > defined (NameError) > > Check your Ruby version: > ruby -v > > and if you have the latest 1.8.3 then you''re out of luck. There''s a > little incompatibility between the latest Ruby and the current 0.13.1 > Rails, look here for explanation and some help: > <http://weblog.rubyonrails.com/archives/2005/09/21/ruby-1-8-3-has- > been-released> > > > And BTW, this is my first post on this group. Hello everyone. > >
Yes, I am running 1.8.3. The fixed worked great, thanks for the reply. -Rob On Mon, 2005-10-17 at 20:22 -0400, cleaner416 wrote:> Try running ruby --version If it''s 1.8.3 (I betcha it is with FC4 > and yum updates) there is a known issue with Ruby v1.8.3 and Rails > 0.13. Here''s the fix: > > http://dev.rubyonrails.org/ticket/2245 > > > > > On Oct 17, 2005, at 8:05 PM, Rob Bazinet wrote: > > > Hello all; > > > > I am new to Rails and Linux in general. I am using Fedora Core 4 with > > all updates installed. > > > > I followed this http://digitalmediaminute.com/howto/fc4rails/ > > excellent > > tutorial. All of the steps worked fine until I got to the point > > where I > > had tried to create the Rails test application. I received the > > following message and no files were created: > > > > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/ > > clean_logger.rb:13:in `remove_const'': constant Logger::Format not > > defined (NameError) > > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ > > active_support/clean_logger.rb:13 > > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > > `require'' > > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/ > > active_support.rb:31 > > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > > `require'' > > > > from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/ > > active_record.rb:29 > > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > > `require'' > > from /usr/lib/site_ruby/1.8/rubygems.rb:182:in `activate'' > > from /usr/lib/site_ruby/1.8/rubygems.rb:181:in `activate'' > > from /usr/lib/site_ruby/1.8/rubygems.rb:167:in `activate'' > > from /usr/lib/site_ruby/1.8/rubygems.rb:166:in `activate'' > > from /usr/lib/site_ruby/1.8/rubygems.rb:37:in > > `require_gem_with_options'' > > from /usr/lib/site_ruby/1.8/rubygems.rb:31:in `require_gem'' > > from /usr/bin/rails:17 > > > > I have Rails 0.13 installed, Mysql and lighttpd installed. > > > > Any guidance for a Rails rookie? > > > > Thank you, > > Rob Bazinet > > > > > > _______________________________________________ > > 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
Dave, Thanks for the reply, I am running 1.8.3. I am up and running now. What a great list. You guys are quick to reply. -Rob On Mon, 2005-10-17 at 20:37 -0400, Dave Kurman wrote:> The patch at > http://dev.rubyonrails.org/attachment/ticket/2263/clean_logger-1.8.3-compat-fix.patch > fixed it. > > Running Fedora Core 4 with all the yum updates... > > --dave > > On 10/17/05, Rob Bazinet <rbazinet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hello all; > > I am new to Rails and Linux in general. I am using Fedora > Core 4 with > all updates installed. > > I followed this http://digitalmediaminute.com/howto/fc4rails/ > excellent > tutorial. All of the steps worked fine until I got to the > point where I > had tried to create the Rails test application. I received > the > following message and no files were created: > > /usr/lib/ruby/gems/1.8/gems/activesupport- > 1.1.1/lib/active_support/clean_logger.rb:13:in `remove_const'': > constant Logger::Format not defined (NameError) > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support.rb:31 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > > from /usr/lib/ruby/gems/1.8/gems/activerecord- > 1.11.1/lib/active_record.rb:29 > from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require'' > from /usr/lib/site_ruby/1.8/rubygems.rb:182:in > `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:181:in > `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:167:in > `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:166:in > `activate'' > from /usr/lib/site_ruby/1.8/rubygems.rb:37:in > `require_gem_with_options'' > from /usr/lib/site_ruby/1.8/rubygems.rb:31:in > `require_gem'' > from /usr/bin/rails:17 > > I have Rails 0.13 installed, Mysql and lighttpd installed. > > Any guidance for a Rails rookie? > > Thank you, > Rob Bazinet > > > _______________________________________________ > 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