Internal Server Error - No such file or directory error
dtsdwarak opened this issue · 0 comments
dtsdwarak commented
Okay, so I've followed all the directions as given in the readme file of the Github repo. But, when I run the gem, it shows the following error
Errno::ENOENT - No such file or directory - /home/dwarak/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/../lib/public/stylesheets/mongo3.css:
Here goes my RVM info
ruby-1.9.3-p547:
system:
uname: "Linux dwarak-sdet 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux"
system: "mint/17/x86_64"
bash: "/bin/bash => GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)"
zsh: " => not installed"
rvm:
version: "rvm 1.25.32 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "1 hour 22 minutes 22 seconds ago"
path: "/home/dwarak/.rvm"
ruby:
interpreter: "ruby"
version: "1.9.3p547"
date: "2014-05-14"
platform: "x86_64-linux"
patchlevel: "2014-05-14 revision 45962"
full_version: "ruby 1.9.3p547 (2014-05-14 revision 45962) [x86_64-linux]"
homes:
gem: "/home/dwarak/.rvm/gems/ruby-1.9.3-p547"
ruby: "/home/dwarak/.rvm/rubies/ruby-1.9.3-p547"
binaries:
ruby: "/home/dwarak/.rvm/rubies/ruby-1.9.3-p547/bin/ruby"
irb: "/home/dwarak/.rvm/rubies/ruby-1.9.3-p547/bin/irb"
gem: "/home/dwarak/.rvm/rubies/ruby-1.9.3-p547/bin/gem"
rake: "/home/dwarak/.rvm/rubies/ruby-1.9.3-p547/bin/rake"
environment:
PATH: "/home/dwarak/.rvm/gems/ruby-1.9.3-p547/bin:/home/dwarak/.rvm/gems/ruby-1.9.3-p547@global/bin:/home/dwarak/.rvm/rubies/ruby-1.9.3-p547/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dwarak/.rvm/bin"
GEM_HOME: "/home/dwarak/.rvm/gems/ruby-1.9.3-p547"
GEM_PATH: "/home/dwarak/.rvm/gems/ruby-1.9.3-p547:/home/dwarak/.rvm/gems/ruby-1.9.3-p547@global"
MY_RUBY_HOME: "/home/dwarak/.rvm/rubies/ruby-1.9.3-p547"
IRBRC: "/home/dwarak/.rvm/rubies/ruby-1.9.3-p547/.irbrc"
RUBYOPT: ""
gemset: ""
And my current gem list is: (Note that I had downgraded Sinatra's version to 1.3.3 to get the gem running - as already mentioned in a Stackoverflow thread)
*** LOCAL GEMS ***
agnostic-will_paginate (3.0.0)
arrayfields (4.9.2)
bigdecimal (1.1.0)
bson (1.11.1)
bson_ext (1.11.1)
bundler (1.7.3)
bundler-unload (1.0.2)
chronic (0.10.2)
executable-hooks (1.3.2)
fattr (2.2.2)
gem-wrappers (1.2.5)
io-console (0.3)
json (1.5.5)
main (6.0.0)
map (6.5.5)
memcache-client (1.8.5)
minitest (2.5.1)
mongo (1.11.1)
mongo3 (0.1.5)
mongo_ext (0.19.3)
mongo_rack (0.0.5)
rack (1.6.0.beta)
rack-protection (1.5.3)
rake (0.9.2.2)
rdoc (3.9.5)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
sinatra (1.3.3)
tilt (1.4.1)
Complete Terminal Error Log
$ mongo3
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/bin/mongo3:18: warning: class variable access from toplevel
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/bin/mongo3:24: warning: class variable access from toplevel
----------------------------------------------------------------------------------------------------
Initializing mongo3 -- Version 0.1.5
----------------------------------------------------------------------------------------------------
>>> Waiting for Franky to warm up...
[2014-09-30 18:35:32] INFO WEBrick 1.3.1
[2014-09-30 18:35:32] INFO ruby 1.9.3 (2014-05-14) [x86_64-linux]
== Sinatra/1.3.3 has taken the stage on 6663 for production with backup from WEBrick
[2014-09-30 18:35:32] INFO WEBrick::HTTPServer#start: pid=13987 port=6663
>>> Opening console...
[13997:13997:0930/183536:ERROR:content_settings_pref_provider.cc(520)] Invalid pattern strings: chrome-extension://mfgdmpfihlmdekaclngibpjhdebndhdj/,
[13997:13997:0930/183536:ERROR:content_settings_pref_provider.cc(402)] Invalid pattern strings: chrome-extension://mfgdmpfihlmdekaclngibpjhdebndhdj/,
[13997:13997:0930/183536:ERROR:desktop_window_tree_host_x11.cc(1497)] Not implemented reached in void views::DesktopWindowTreeHostX11::MapWindow(ui::WindowShowState)
ATTENTION: default value of option force_s3tc_enable overridden by environment.
The :timeout option has been deprecated and will be removed in the 2.0 release. Use :pool_timeout instead.
Sinatra::Base#options is deprecated and will be removed, use #settings instead.
Errno::ENOENT - No such file or directory - /home/dwarak/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/../lib/public/stylesheets/mongo3.css:
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/helpers/main_helper.rb:21:in `mtime'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/helpers/main_helper.rb:21:in `v_styles'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/helpers/main_helper.rb:7:in `block in stylesheets'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/helpers/main_helper.rb:6:in `each'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/helpers/main_helper.rb:6:in `stylesheets'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/views/layout.erb:8:in `block in singletonclass'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/views/layout.erb:65531:in `instance_eval'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/views/layout.erb:65531:in `singletonclass'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/views/layout.erb:65529:in `__tilt_12642100'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `evaluate'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:686:in `render'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:694:in `block in render'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:694:in `catch'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:694:in `render'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:572:in `erb'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/mongo3-0.1.5/lib/controllers/explore.rb:29:in `block in <module:Explore>'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `block in compile!'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `[]'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (3 levels) in route!'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:851:in `route_eval'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (2 levels) in route!'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:872:in `block in process_route'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `catch'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `process_route'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:834:in `block in route!'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:833:in `each'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:833:in `route!'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:936:in `dispatch!'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:769:in `block in call!'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `block in invoke'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `catch'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `invoke'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:769:in `call!'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:755:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.6.0.beta/lib/rack/session/abstract/id.rb:225:in `context'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.6.0.beta/lib/rack/session/abstract/id.rb:220:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.6.0.beta/lib/rack/nulllogger.rb:9:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.6.0.beta/lib/rack/head.rb:13:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.6.0.beta/lib/rack/methodoverride.rb:22:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:99:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389:in `block in call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:1471:in `synchronize'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389:in `call'
/home/dwarak/.rvm/gems/ruby-1.9.3-p547/gems/rack-1.6.0.beta/lib/rack/handler/webrick.rb:89:in `service'
/home/dwarak/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/home/dwarak/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/home/dwarak/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
localhost - - [30/Sep/2014:18:35:36 IST] "GET / HTTP/1.1" 500 30
- -> /
localhost - - [30/Sep/2014:18:35:36 IST] "GET /favicon.ico HTTP/1.1" 404 18
- -> /favicon.ico
Hope I have given enough information. @derailed, can you please tell me what might have caused the problem?