sj26/mailcatcher

Mailcatcher not running on ruby 2.5.3

ChunAllen opened this issue · 4 comments

I have existing application that runs on ruby 2.5.3

When I install gem install mailcatcher I'm getting

Fetching sqlite3-1.5.0-x86_64-darwin.gem
ERROR:  Error installing mailcatcher:
	The last version of sqlite3 (~> 1.3) to support your Ruby & RubyGems was 1.5.0. Try installing it with `gem install sqlite3 -v 1.5.0` and then running the current command again
	sqlite3 requires Ruby version >= 2.6, < 3.2.dev. The current ruby version is 2.5.3.105.

I tried changing my ruby to 2.6.0 and it works. But I needed my app to run in 2.5.3

sj26 commented

Did you try the instructions in the message?

@sj26 I tried installing sqlite -v 1.5.0 but I'm also getting an error.

$ gem install sqlite3 -v 1.5.0
ERROR:  Error installing sqlite3:
	The last version of sqlite3 (= 1.5.0) to support your Ruby & RubyGems was 1.5.0. Try installing it with `gem install sqlite3 -v 1.5.0`
	sqlite3 requires Ruby version >= 2.6, < 3.2.dev. The current ruby version is 2.5.3.105
sj26 commented

Hm. Sounds difficult, sorry!

Can you run mailcatcher with a newer version of Ruby?

Thanks, alternative is when I run mailcatcher in local I switch to 2.6.0