-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mailcatcher failed to start #155
Comments
I am also getting this problem on Centos 6.5. It was working fine from an install about a week ago, just wiped my vm and started again and I now get this. I'm using rvm and ruby 1.9.3. It doesn't look to me like rvm has changed so I am assuming a gem has been updated but I have no idea which one. |
Same behaviour for me. I run inside vagrant on separate gemset & ruby-1.9.3-p547. |
I've compared the gems between the working set and the non working set.
Judging from the error I would bet that it is the version of the i18n gem. I haven't tried altering the version of this yet. |
I can confirm it's the version of the i18n gem. I removed it and then installed the 0.6.11 version and it now works. gem uninstall i18n
gem install i18n -v 0.6.11 |
Quick update I've done a clean install of ruby and the broken version of the i18n gem only gets installed when I install the mailcatcher gem. |
The dependency for i18n comes from activesupport.
|
This is a serious issue for us and broke our development vagrant VMs. While slightly unrelated, how can this be fixed when using RVM? We're using the following commands for installing mailcatcher:
I can of course manually do
but this won't help with the rvm wrapper scripts. Any idea how to fix this? |
Just in case someone is interested, this is how I got it working with RVM:
|
Hey there, I didn't get a notice about this issue which is odd, sorry. This is an odd issue. Looks like rubygems isn't doing its job properly:
(notice activesupport and i18n are missing.) You could work around by using rvm to install mailcatcher into a dedicated gemset and make the wrapper use that, so any conflicting versions installed by other things don't conflict. |
Running RubyGems 2.2.2 on Ruby 2.1.2 I get both ActiveSupport and i18n loading. I upgraded to the latest RubyGems (2.4.1) and still get the same returned.
|
Same problem here with ruby 2.1.2 For the people who start with ruby/gem and really need this one, you can install it from github : git clone git@github.com:sj26/mailcatcher.git
cd mailcatcher
gem build mailcatcher.gemspec
gem install ./mailcatcher-0.6.0.gem
rbenv rehash #(if using rbenv)
mailcatcher As said in issue #156 it comes without assets |
+1, with:
|
For those who urgently need mails to work with Rails: 4.2.0.beta1, this worked great for me: |
same problem downgrading i18n fixed it. |
Had the same problem to , downgrading |
@kwando your solution worked. |
Apparently this can be fixed easily, can someone make a pull request with these changes? https://github.com/mortik/mailcatcher/commit/bdb0c9415b3ab664274b4ccc3469912b0abfcb34 |
@CamJN that won't fix the gem. To have the same effect in development mode, start mailcatcher with |
Been using mailcatcher for while now. Removing
|
Thanks @pisaacs! Removing |
But it didn't for |
Well this isn't the best solution.
So now I need to remove the gem and boot up mailcatcher.. then bundle and start my app.. Laborious! |
To fix this problem, change this line in mailcatcher.rb
TO
|
+1 for @pisaacs comment. Removing the |
This works if you are not using 4.2.0.rc2 .. otherwise error =
|
This works for me out the box running Ruby 2.2.0 and letting Rubygems install i18n 0.7.0. It seems that it could be related to i18n v0.7.0 going final. |
Yep. Please remove any prerelease versions of i18n if you encounter this issue. |
@CamJN the link in your comment is broken |
Still having this issue with i18n 0.7.0:
|
@jondoe1337 that looks like you've got activesurpport 4.2.7.rc1 installed which is causing havoc. Can you try:
|
That worked for me - i replaced the version above with:
Thanks! |
Following the installation instructions I get this error on Ubuntu 12.04 and Ubuntu 14.04:
List of installed gems:
Any ideas?
The text was updated successfully, but these errors were encountered: