ruby - Rails Server will not run -


typing

$ rails server  

in terminal on mac yields these 2 errors i've tried troubleshooting uninstalling , installing ruby & rails again , same error.

typing

localhost:3000  

on browser brings broken webpage meaning rails not running properly.

as complete beginner, how troubleshoot these problems below step step rails run?

ignoring binding_of_caller-0.7.2 because extensions not built.  try: gem pristine binding_of_caller --version 0.7.2 ignoring byebug-8.2.2 because extensions not built.  try: gem pristine byebug --version 8.2.2 ignoring debug_inspector-0.0.2 because extensions not built.  try: gem pristine debug_inspector --version 0.0.2 ignoring executable-hooks-1.3.2 because extensions not built.  try: gem pristine executable-hooks --version 1.3.2 ignoring gem-wrappers-1.2.7 because extensions not built.  try: gem pristine gem-wrappers --version 1.2.7 ignoring mysql2-0.4.2 because extensions not built.  try: gem pristine mysql2 --version 0.4.2 ignoring nokogiri-1.6.7.2 because extensions not built.  try: gem pristine nokogiri --version 1.6.7.2 ignoring binding_of_caller-0.7.2 because extensions not built.  try: gem pristine binding_of_caller --version 0.7.2 ignoring byebug-8.2.2 because extensions not built.  try: gem pristine byebug --version 8.2.2 ignoring debug_inspector-0.0.2 because extensions not built.  try: gem pristine debug_inspector --version 0.0.2 ignoring executable-hooks-1.3.2 because extensions not built.  try: gem pristine executable-hooks --version 1.3.2 ignoring gem-wrappers-1.2.7 because extensions not built.  try: gem pristine gem-wrappers --version 1.2.7 ignoring mysql2-0.4.2 because extensions not built.  try: gem pristine mysql2 --version 0.4.2 ignoring nokogiri-1.6.7.2 because extensions not built.  try: gem pristine nokogiri --version 1.6.7.2 dyld: lazy symbol binding failed: symbol not found: _rb_data_typed_object_alloc   referenced from: /users/leviathan/.rvm/gems/ruby-2.2.1/gems/debug_inspector-0.0.2/lib/debug_inspector.bundle   expected in: flat namespace  dyld: symbol not found: _rb_data_typed_object_alloc   referenced from: /users/leviathan/.rvm/gems/ruby-2.2.1/gems/debug_inspector-0.0.2/lib/debug_inspector.bundle   expected in: flat namespace  trace/bpt trap: 5 

edit: try running gem pristine --all first.

try uninstalling , reinstalling bundler:

gem uninstall bundler gem install bundler

then run bundle install.

this install gems should have specified in gemfile, extensions.

e.g bundle complete! 33 gemfile dependencies, 103 gems installed.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -