bryantebeek / chef-mailcatcher Goto Github PK
View Code? Open in Web Editor NEWMailCatcher cookbook for Chef
MailCatcher cookbook for Chef
================================================================================
Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mailcatcher/recipes/default.rb
================================================================================
TypeError
---------
can't convert Fixnum into String
Cookbook Trace:
---------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/mailcatcher/recipes/default.rb:17:in `+'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/mailcatcher/recipes/default.rb:17:in `from_file'
More of a question than a issue.
Any reason why the name field has upper case characters in metadata.rb?
This is the only cookbook I have come across with this and it has caused a few issues.
Eg in my metadata.rb I need to specify:
depends 'MailCatcher'
As the following returns errors
depends 'mailcatcher'
Expected:
Mailcatcher should start when the machine starts
Actual:
Mailcatcher doesn';t start till you cook the machine again.
Mailcatcher has a dependency issues and the cookbook does not work anymore.
There is a fix on the mailcatcher github. It should be also fixed in this repository.
Package is just "sqlite" rather than libsqlite3, so a simple
case node['platform_family']
when "debian"
package "sqlite"
when "rhel", "fedora", "suse"
package "libsqlite3-dev"
end
... should do the trick.
I have verified that after running 'apt-get install ruby-dev' I can now install mailcatcher successfully.
I am going to fork and add the ruby-dev package as a dependency. Just wanted to make an issue for this. A pull request will be coming your way shortly.
root@vagrant-ubuntu-raring-64:/home/vagrant# gem install mailcatcher
Building native extensions. This could take a while...
ERROR: Error installing mailcatcher:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- mkmf (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from extconf.rb:2:in `
Gem files will remain installed in /var/lib/gems/1.9.1/gems/eventmachine-1.0.3 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/eventmachine-1.0.3/ext/gem_make.out
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.