###前提・実現したいこと
Ruby on Rails Tutorial の第1章をやっていてrails server
すると書きのエラーが出ます.
環境は以下の通りです.
- OX X El Capitan
- Rails 4.2.2
- Ruby 2.3.1
###発生している問題・エラーメッセージ
/Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug/history.rb:1:in `require': dlopen(/Users/ueki/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle, 9): Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib (LoadError) Referenced from: /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle Reason: image not found - /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/2.3.0/x86_64-darwin15/readline.bundle from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug/history.rb:1:in `<top (required)>' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug/interfaces/local_interface.rb:1:in `require' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug/interfaces/local_interface.rb:1:in `<top (required)>' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug/interface.rb:26:in `require' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug/interface.rb:26:in `<module:Byebug>' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug/interface.rb:4:in `<top (required)>' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug/core.rb:5:in `require' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug/core.rb:5:in `<top (required)>' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug.rb:1:in `require' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/byebug-3.4.0/lib/byebug.rb:1:in `<top (required)>' from /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in `require' from /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in `block (2 levels) in require' from /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in `each' from /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in `block in require' from /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in `each' from /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in `require' from /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler.rb:106:in `require' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/config/application.rb:7:in `<top (required)>' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:78:in `require' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:78:in `block in server' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `tap' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `server' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:39:in `run_command!' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.2/lib/rails/commands.rb:17:in `<top (required)>' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/bin/rails:9:in `require' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/bin/rails:9:in `<top (required)>' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `load' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/spring-1.1.3/lib/spring/client/rails.rb:27:in `call' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/spring-1.1.3/lib/spring/client/command.rb:7:in `call' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/spring-1.1.3/lib/spring/client.rb:26:in `run' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/spring-1.1.3/bin/spring:48:in `<top (required)>' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `load' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/vendor/bundle/ruby/2.3.0/gems/spring-1.1.3/lib/spring/binstub.rb:11:in `<top (required)>' from /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Users/ueki/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /Users/ueki/Dropbox/study/rails_tutorial/hello_app/bin/spring:14:in `<top (required)>' from bin/rails:3:in `load' from bin/rails:3:in `<main>'
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/11/12 23:22
退会済みユーザー
2016/11/12 23:28