Ruby on Rails
Tuesday, August 13, 2013
Try rake db:create (or migrate) maybe there some problem with database initalization.
-- Also could post your gemfile, and schema.rb?
вторник, 13 августа 2013 г., 9:36:31 UTC+3 пользователь Jurijs Fadejevs написал:
вторник, 13 августа 2013 г., 9:36:31 UTC+3 пользователь Jurijs Fadejevs написал:
I have Raspberry Pi with Pidora OS. I am using: -ruby (1.9.3p194 (2012-04-20 revision 35410) [armv6hl-linux] -rails (4.0.0) When I am trying to run rails I get error:=> Booting Thin => Rails 4.0.0 application starting in development on http://0.0.0.0:3000 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server Exiting /usr/local/share/gems/gems/rai
lties -4.0.0/lib/rails/railtie/configuration .rb:95:in `method_missing': undefined method `active_record' for #<Rails::Application::Configuration:0x28cf0b0> (NoMethodError) from /home/user1/RubyOnRails/site1/ from /usr/local/share/gems/gems/raiconfig/environments/ development.rb:23:in `block in <top (required)>' lties -4.0.0/lib/rails/railtie/configurable .rb:24:in `class_eval' from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/ configure' from /home/user1/RubyOnRails/site1/railtie/configurable.rb:24:in ` config/environments/ from /usr/local/share/gems/gems/actdevelopment.rb:1:in `<top (required)>' ivesupport -4.0.0/lib/active_support /dependencies.rb:228:in `require' from /usr/local/share/gems/gems/activesupport-4.0.0/lib/ block in require' from /usr/local/share/gems/gems/active_support/dependencies. rb:228:in ` activesupport-4.0.0/lib/ from /usr/local/share/gems/gems/actactive_support/dependencies. rb:213:in `load_dependency' ivesupport -4.0.0/lib/active_support /dependencies.rb:228:in `require' from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/ block (2 levels) in <class:Engine>' from /usr/local/share/gems/gems/engine.rb:591:in ` railties-4.0.0/lib/rails/ from /usr/local/share/gems/gems/raiengine.rb:590:in `each' lties -4.0.0/lib/rails/engine.rb :590:in `block in <class:Engine>' from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/ instance_exec' from /usr/local/share/gems/gems/initializable.rb:30:in ` railties-4.0.0/lib/rails/ from /usr/local/share/gems/gems/raiinitializable.rb:30:in `run' lties -4.0.0/lib/rails/initializable .rb:55:in `block in run_initializers' from /usr/share/ruby/tsort.rb:150:in ` block in tsort_each' from /usr/share/ruby/tsort.rb:183:in `block (2 levels) in each_strongly_connected_ from /usr/share/ruby/tsort.rb:210:icomponent' n `block (2 levels) in each_strongly_connected_component_from' from /usr/share/ruby/tsort.rb:219: each_strongly_connected_in ` component_from ' from /usr/share/ruby/tsort.rb:209:in `block in each_strongly_connected_ from /usr/local/share/gems/gems/raicomponent_from' lties -4.0.0/lib/rails/initializable .rb:44:in `each' from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/ tsort_each_child' from /usr/share/ruby/tsort.rb:203:initializable.rb:44:in ` in `each_strongly_connected_ from /usr/share/ruby/tsort.rb:182:icomponent_from' n `block in each_strongly_connected_component' from /usr/share/ruby/tsort.rb:180: each' from /usr/share/ruby/tsort.rb:180:in ` in `each_strongly_connected_ from /usr/share/ruby/tsort.rb:148:icomponent' n `tsort_each' from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/ run_initializers' from /usr/local/share/gems/gems/initializable.rb:54:in ` railties-4.0.0/lib/rails/ from /usr/local/share/gems/gems/raiapplication.rb:215:in `initialize!' lties -4.0.0/lib/rails/railtie/configurable .rb:30:in `method_missing' from /home/user1/RubyOnRails/site1/config/environment.rb:5:in ` <top (required)>' from /home/user1/RubyOnRails/site1/config.ru:3:in `require' from /home/user1/RubyOnRails/site1/config .ru:3:in `block in <main>' from /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder. instance_eval' from /usr/local/share/gems/gems/rb:55:in ` rack-1.5.2/lib/rack/builder. from /home/user1/RubyOnRails/site1/rb:55:in `initialize' config .ru:in `new' from /home/user1/RubyOnRails/site1/config.ru:in `<main>' from /usr/local/share/gems/gems/ from /usr/local/share/gems/gems/racrack-1.5.2/lib/rack/builder. rb:49:in `eval' k -1.5.2/lib/rack/builder.rb:49: in `new_from_string' from /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder. parse_file' from /usr/local/share/gems/gems/rb:40:in ` rack-1.5.2/lib/rack/server.rb: from /usr/local/share/gems/gems/rac277:in `build_app_and_options_from_ config' k -1.5.2/lib/rack/server.rb:199: in `app' from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/ app' from /usr/local/share/gems/gems/commands/server.rb:48:in ` rack-1.5.2/lib/rack/server.rb: from /usr/local/share/gems/gems/rai314:in `wrapped_app' lties -4.0.0/lib/rails/commands/ server.rb:75:in `start' from /usr/local/share/gems/gems/railties-4.0.0/lib/rails/ block in <top (required)>' from /usr/local/share/gems/gems/commands.rb:78:in ` railties-4.0.0/lib/rails/ from /usr/local/share/gems/gems/raicommands.rb:73:in `tap' lties -4.0.0/lib/rails/commands. rb:73:in `<top (required)>' from bin/rails:4:in `require' from bin/rails:4:in `<main>'actionmailer (4.0.0) actionpack (4.0.0) activemodel (4.0.0) activerecord (4.0.0) activerecord-deprecated_
finders (1.0.3) activeresource (4.0.0) activesupport (4.0.0) addressable (2.3.5) arel (4.0.0) atomic (1.1.12) backports (3.3.3) bigdecimal (1.2.1) builder (3.2.2, 3.1.4) bundler (1.3.5) coffee-rails (4.0.0) coffee-script (2.2.0) coffee-script-source (1.6.3) daemons (1.1.9) diff-lcs (1.2.4) erubis (2.7.0) eventmachine (1.0.3) excon (0.25.3) execjs (1.4.0) heroku (2.40.0) heroku-api (0.3.14) hike (1.2.3) i18n (0.6.4) innate (2013.02.21) io-console (0.4.2) jbuilder (1.5.0) journey (1.0.4) jquery-rails (3.0.4) json (1.8.0) launchy (2.3.0) mail (2.5.4) mime-types (1.23) mini_portile (0.5.1) minitest (5.0.6, 4.7.5) multi_json (1.7.9) multipart-post (1.2.0) net-http-persistent (2.9) netrc (0.7.7) nosql (0.0.3) polyglot (0.3.3) rack (1.5.2) rack-cache (1.2) rack-ssl (1.3.3) rack-test (0.6.2) rails (4.0.0) rails-observers (0.1.2) railties (4.0.0) rake (10.1.0) rake-compiler (0.9.1) ramaze (2012.12.08) rdoc (4.0.1, 3.12.2) rest-client (1.6.7) rspec (2.14.1) rspec-core (2.14.4) rspec-expectations (2.14.0) rspec-mocks (2.14.2) rspec-spies (2.1.4) rubygems-update (2.0.6) rubyzip (0.9.9) sass (3.2.10) sass-rails (4.0.0) sdoc (0.3.20) specific_install (0.2.3) sprockets (2.10.0) sprockets-rails (2.0.0) sqlite3 (1.3.7) thin (1.5.1) thor (0.18.1, 0.14.6) thread_safe (0.1.2) tilt (1.4.1) treetop (1.4.14) turbolinks (1.3.0) tzinfo (0.3.37) uglifier (2.1.2) vulcan (0.8.2)
Does anyone can help me to find where problem is?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e6527b7f-88ba-4653-b308-8a880a056fdf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment