jeudi 17 novembre 2016

ruby on rails installed successfully but project not opening on localhost

I downloaded a website based on ruby on rails on my machine and tried to run it on my localhost. but it is not running. i have installed rails 4.0.2 and ruby 2.2.4p230. when i run the commands like cd welspun(the name of the folder where i stored the website files) and rails s i get the following message on cmd. i do not understand how to tackle this issue. i am using windows 7. please help me out. i have no knowledge of ruby on rails. please help me out.

C:\Sites>cd welspun

C:\Sites\welspun>rails s C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.0.2/lib/act ive_support/values/time_zone.rb:282: warning: circular argument reference - now C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.9-x86-mingw32/l ib/sqlite3.rb:6:in require': cannot load such file -- sqlite3/sqlite3_native (L oadError) from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.9- x86-mingw32/lib/sqlite3.rb:6:inrescue in ' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.9- x86-mingw32/lib/sqlite3.rb:2:in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:91:inrequire' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:91:in block (2 levels) in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:86:ineach' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:86:in block in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:75:ineach' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:75:in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler.rb:106:inrequire' from C:/Sites/welspun/config/application.rb:7:in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:74:inrequire' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:74:in block in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:71:intap' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:71:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in `'

C:\Sites\welspun>rails s C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/activesupport-4.0.2/lib/act ive_support/values/time_zone.rb:282: warning: circular argument reference - now C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.9-x86-mingw32/l ib/sqlite3.rb:6:in require': cannot load such file -- sqlite3/sqlite3_native (L oadError) from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.9- x86-mingw32/lib/sqlite3.rb:6:inrescue in ' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.9- x86-mingw32/lib/sqlite3.rb:2:in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:91:inrequire' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:91:in block (2 levels) in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:86:ineach' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:86:in block in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:75:ineach' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler/runtime.rb:75:in require' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.13.6 /lib/bundler.rb:106:inrequire' from C:/Sites/welspun/config/application.rb:7:in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:74:inrequire' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:74:in block in <top (required)>' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:71:intap' from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-4.0.2 /lib/rails/commands.rb:71:in <top (required)>' from bin/rails:4:inrequire' from bin/rails:4:in `'

C:\Sites\welspun>

Aucun commentaire:

Enregistrer un commentaire