diff --git a/.travis.yml b/.travis.yml index ae182fb5f..ac5c3e86d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ cache: bundler bundler_args: --without local_development before_install: - - gem update bundler + - gem install bundler script: bundle exec rake diff --git a/tasks/ragel.rake b/tasks/ragel.rake index bccc916af..1e1800b8e 100644 --- a/tasks/ragel.rake +++ b/tasks/ragel.rake @@ -11,7 +11,7 @@ rule %r|_parser\.rl\z| => 'lib/mail/parsers/rfc5322.rl' # Ruby parsers depend on Ragel parser definitions # (remove -L to include line numbers for debugging) -rule %r|_parser\.rb\z| => '.rl' do |t| +rule %r|_parser\.rb\z| => '%X.rl' do |t| sh "ragel -s -R -L -F1 -o #{t.name} #{t.source}" end