Could not find gem byebug (= 0) in Ruby on Rails

2

When I run the command rails server , the following message appears:

  

Could not find gem byebug (> = 0)

This is in Windows. I tried to use gem install byebug but it does not work and in Linux it has the following message:

  

could not find gem rails

with the version of Ruby 1.9 and Rails 2.4 . Someone could help me please, I'm new to Ruby.

    
asked by anonymous 21.11.2015 / 12:11

1 answer

0
In the github of the project, it says that this gem requires a newer version of Ruby, MRI 2.0.0 or higher, but recommends for Ruby 1.9 the use of gem 'debugger' byebug

  

Requirements

     Required: MRI 2.0.0 or higher.
  For debugging ruby 1.9.3 or older, use debugger.

     

Recommended :

     

MRI 2.1.7 or higher.
  MRI 2.2.3 or higher.

    
22.11.2015 / 02:27