byebug - Need help getting rails server to work -
so feel incredibly frustrated. doing www.railstutorial.org , require specific version of rails (4.2.2). have installed wanted. put in gemfile specs on "hello_app" app provided. when run "rails server" error message saying "byebug" erroring. try install earlier , later versions of bye bug , same error message. can please me? feel pretty lost.
the tutorial @ url below.
https://www.railstutorial.org/book/beginning#code-hello_action
alopex@alopex-th55-hd:~/workspace/hello_app$ more gemfile source 'https://rubygems.org gem 'rails', '4.2.2' gem 'sass-rails', '5.0.2' gem 'uglifier', '2.5.3' gem 'coffee-rails', '4.1.0' gem 'jquery-rails', '4.0.3' gem 'turbolinks', '2.3.0' gem 'jbuilder', '2.2.3' gem 'sdoc', '0.4.0', group: :doc group :development, :test gem 'sqlite3', '1.3.9' gem 'byebug', '3.4.0' gem 'web-console', '2.0.0.beta3' gem 'spring', '1.1.3' end alopex@alopex-th55-hd:~/workspace/hello_app$ bundle install gem::installerror: byebug requires ruby version >= 2.0.0. error occurred while installing byebug (3.4.0), , bundler cannot continue. make sure `gem install byebug -v '3.4.0'` succeeds before bundling. alopex@alopex-th55-hd:~/workspace/hello_app$ sudo gem install byebug -v 3.4.0 error: error installing byebug: byebug requires ruby version >= 2.0.0.
i fixed problem in way:
- open application's gemfile
- remove:
gem 'byebug'
- replace with:
gem 'pry-byebug', platform: [:ruby_20]
Comments
Post a Comment