sj26 / mailcatcher

Catches mail and serves it through a dream.

Home Page:http://mailcatcher.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mailcatcher not running on ruby 2.5.3

ChunAllen opened this issue · 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

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

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