c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/options.rb:32:in `default_options'': undefi ned method `write_inheritable_attribute'' for Rails::Generator::Base:Class (NoMethodError) from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:90:in `<class:Base>'' from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:85:in `<module:Genera tor>'' from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:48:in `<module:Rails> '' from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:6:in `<top (required)>''from c:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' from c:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator.rb:37:in `<top (required)>'' from c:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' from c:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' from c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/bin/rails:15:in `<top (required)>'' from c:/Ruby193/bin/rails:23:in `load'' from c:/Ruby193/bin/rails:23:in `<main>'' -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Has your server started without errors before? If so then, what have you changed (in the broadest sense: upgrade OS, ruby, rails version etc.?) since the last time it worked. In case it hasn''t worked at all, let us know how you installed your ruby/rails/gems. 2012/7/27 Rishi Aggarwal <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> > c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/options.rb:32:in > `default_options'': undefi > ned method `write_inheritable_attribute'' for > Rails::Generator::Base:Class (NoMethodError) > from > > c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:90:in > `<class:Base>'' > from > > c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:85:in > `<module:Genera > tor>'' > from > > c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:48:in > `<module:Rails> > '' > from > > c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:6:in > `<top (required) > >'' > from > c:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > `require'' > from > c:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > `require'' > from > > c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator.rb:37:in > `<top (required)>'' > from > c:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > `require'' > from > c:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in > `require'' > from > c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/bin/rails:15:in `<top > (required)>'' > from c:/Ruby193/bin/rails:23:in `load'' > from c:/Ruby193/bin/rails:23:in `<main>'' > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/groups/opt_out. > > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Gintautas S. wrote in post #1070411:> Has your server started without errors before? If so then, what have you > changed (in the broadest sense: upgrade OS, ruby, rails version etc.?) > since the last time it worked. > > In case it hasn''t worked at all, let us know how you installed your > ruby/rails/gems. > > 2012/7/27 Rishi Aggarwal <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>I am new to Ruby/rails platform: i have followed following steps on my Virtual machine 1) installed one click installer then 2) gem install rails --remote 3) gem update --system then installed devkit --> ruby dk.rg init --> ruby dk.rg review --> ruby dk.rg install ------------------------ then i checked out code from SVN after after that i am trynig to run server --> rails server -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Friday, July 27, 2012 1:23:59 PM UTC+1, Ruby-Forum.com User wrote:> > Gintautas S. wrote in post #1070411: > > ------------------------ > > then i checked out code from SVN after after that i am trynig to run > server > > --> rails server >It looks like you''re running rails 2.x, and on rails 2.x you start the server with ruby script/server Definitely worth checking that you''ve installed the version of rails the app was designed to run against. Fred> > -- > Posted via http://www.ruby-forum.com/. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/C14khhVmR7wJ. For more options, visit https://groups.google.com/groups/opt_out.
I am sure that I am using rails 3. Can someone help me -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Hassan Schroeder
2012-Jul-29 17:02 UTC
Re: Re: Getting error while starting server plz help
On Sun, Jul 29, 2012 at 9:50 AM, Rishi Aggarwal <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I am sure that I am using rails 3.Your original post: c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/options.rb:32:in `default_options'': undefined method `write_inheritable_attribute'' for Rails::Generator::Base:Class (NoMethodError) What version of the Rails gem do you see there? :-) -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
How can I confirm that kind let me know -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
rails -v in console. Den söndagen den 29:e juli 2012 kl. 19:08:58 UTC+2 skrev Ruby-Forum.com User:> > How can I confirm that kind let me know > > -- > Posted via http://www.ruby-forum.com/. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/0jGQeHpiB2sJ. For more options, visit https://groups.google.com/groups/opt_out.