0

i am using ruby 1.8.7 and rails 3.0.12 for my project. when i run "bundle install", i get the following error.

Gem::InstallError: linecache19 requires Ruby version >= 1.9.2.
An error occurred while installing linecache19 (0.5.12), and Bundler cannot continue.

i don't want to change my ruby version.

Ramiz Raja
  • 5,942
  • 3
  • 27
  • 39

2 Answers2

1

You can try using the debugger gem instead of ruby-debug. Check out your gemfile and replace gem "ruby-debug" with gem "debugger". From memory that's how I did it.

FluffyJack
  • 1,732
  • 10
  • 15
0

Replacing gem 'ruby-debug19' with gem 'ruby-debug' worked for me.

Ramiz Raja
  • 5,942
  • 3
  • 27
  • 39