This is what happens when I try and start a new web server with WEBrick.
-
I've been playing around with Ruby on Rails for a few days now but have been having a lot of trouble installing it on Windows. Now that I am here I'm not sure what is going wrong
C:\Websites\Project_one>rails s C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/railtie/configur ation.rb:95:in
method_missing': undefined method
active_record' for # (NoMethodError) from C:/Websites/Project_one/config/application.rb:24:in<class:Applica tion>' from C:/Websites/Project_one/config/application.rb:10:in
' from C:/Websites/Project_one/config/application.rb:9:in `' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/com mands/commands_tasks.rb:78:in
require' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/com mands/commands_tasks.rb:78:in
block in server' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/com mands/commands_tasks.rb:75:intap' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/com mands/commands_tasks.rb:75:in
server' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/com mands/commands_tasks.rb:39:inrun_command!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/com mands.rb:17:in
' from bin/rails:4:inrequire' from bin/rails:4:in
'
Aucun commentaire:
Enregistrer un commentaire