I have completed installation of ROR, Rails.
When I tried starting the server using
rails s
/Users/xyz/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/app_rails_loader.rb:37: warning: Insecure world writable dir /usr/local/Cellar in PATH, mode 040777
/Users/xyz/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /usr/local/Cellar in PATH, mode 040777
=> Booting WEBrick
=> 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
[2013-09-20 06:19:14] INFO WEBrick 1.3.1
[2013-09-20 06:19:14] INFO ruby 2.0.0 (2013-05-14) [x86_64-darwin12.4.0]
[2013-09-20 06:19:14] INFO WEBrick::HTTPServer#start: pid=87245 port=3000
I tried accessing localhost:3000 But following error is appearing-
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Output of brew doctor-
brew doctor Warning: Broken symlinks were found. Remove them with
brew prune: /usr/local/bin/unshadow /usr/local/bin/unique
/usr/local/bin/unafs /usr/local/bin/password.lst
/usr/local/bin/mailer /usr/local/bin/lanman.chr
/usr/local/bin/john.conf /usr/local/bin/john
/usr/local/bin/digits.chr /usr/local/bin/alpha.chr
/usr/local/bin/alnum.chr /usr/local/bin/all.chr
/usr/local/Library/LinkedKegs/johnWarning: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly once built. Run
brew linkon these:aircrack-ng mysqlWarning: You have uncommitted modifications to Homebrew If this a surprise to you, then you should stash these modifications. Stashing returns Homebrew to a pristine state but can be undone should you later need to do so for some reason. cd /usr/local/Library && git stash && git clean -d -f
Warning: Some installed formula are missing dependencies. You should
brew installthe missing dependencies:brew install freetype gmp libffi libpng libtool nettle p11-kitRun
brew missingfor more details.Warning: /usr/bin occurs before /usr/local/bin This means that system-provided programs will be used instead of those provided by Homebrew. The following tools exist at both paths:
certtool easy_install easy_install-2.6 git git-cvsserver git-receive-pack git-shell git-upload-archive git-upload-pack phar phar.phar php php-config phpize tclsh tclsh8.5 wish wish8.5Consider setting your PATH so that /usr/local/bin occurs before /usr/bin. Here is a one-liner: echo export PATH="/usr/local/bin:$PATH" >> ~/.bash_profile You have new mail in /var/mail/gaurangagrawal
brew doctorand let us know what it says. the error seems like it's coming from a home brew cellar - Nikola