Warning / syntax error during deploy to heroku
victorhg opened this issue · 2 comments
victorhg commented
Hey there, can these be a problem?
gemspec line 10:
s.description = %q{{Send e-mail straight from forms in Rails with I18n, validations, attachments and request information.}
During deploy to heroku I'm getting this message:
WARNING: vendor/bundle/ruby/1.9.1/specifications/mail_form-1.4.0.gemspec:10: unterminated string meets end of file
vendor/bundle/ruby/1.9.1/specifications/mail_form-1.4.0.gemspec:10: syntax error, unexpected $end, expecting keyword_end
WARNING: # -- encoding: utf-8 --
Gem::Specification.new do |s|
s.name = %q{mail_form}
s.version = "1.4.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["José Valim", "Carlos Antônio"]
s.date = %q{2012-12-13}
s.description = %q{{Send e-mail straight from forms in Rails with I18n, validations, attachments and request information.}
s.email = %q{contact@plataformatec.com.br}
s.files = ["CHANGELOG", "MIT-LICENSE", "README.md", "lib/generators/rails/mail_form_generator.rb", "lib/generators/rails/templates/model.rb", "lib/mail_form/base.rb", "lib/mail_form/delivery.rb", "lib/mail_form/notifier.rb", "lib/mail_form/shim.rb", "lib/mail_form/version.rb", "lib/mail_form/views/mail_form/contact.erb", "lib/mail_form.rb", "test/mail_form_test.rb", "test/resource_test.rb", "test/test_file.txt", "test/test_helper.rb", "test/views/mail_form/custom_template.erb"]
s.homepage = %q{https://github.com/plataformatec/mail_form}
s.require_paths = ["lib"]
s.rubyforge_project = %q{mail_form}
s.rubygems_version = %q{1.3.7}
s.summary = %q{Send e-mail straight from forms in Rails with I18n, validations, attachments and request information.}
s.test_files = ["test/mail_form_test.rb", "test/resource_test.rb", "test/test_file.txt", "test/test_helper.rb", "test/views/mail_form/custom_template.erb"]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<actionmailer>, ["~> 3.0"])
else
s.add_dependency(%q<actionmailer>, ["~> 3.0"])
end
else
s.add_dependency(%q<actionmailer>, ["~> 3.0"])
end
end
josevalim commented
A bug in rubygems but, on the other hand, we don't need {
in there. I will fix it and release 1.4.1.
victorhg commented
cheers