This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failed to send out e-mail | |
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. y129sm721561qka.33 - gsmtp | |
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057) | |
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1580) | |
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1097) | |
at javax.mail.Transport.send0(Transport.java:195) | |
at javax.mail.Transport.send(Transport.java:124) | |
at hudson.tasks.Mailer$DescriptorImpl.doSendTestMail(Mailer.java:527) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started by user anonymous | |
Building in workspace /Users/Shared/Jenkins/Home/jobs/Testing/workspace | |
Capturing environment variables produced by 'rvm use ruby-2.0.0-p247@revelator' | |
$ bash -c export | |
$ bash -c "test -f ~/.rvm/scripts/rvm" | |
[workspace] $ bash -c " source ~/.rvm/scripts/rvm && rvm use --install --create ruby-2.0.0-p247@revelator && export > rvm.env" | |
ruby-2.0.0-p247 is not installed - installing. | |
Searching for binary rubies, this might take some time. | |
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p247. | |
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :hs do | |
desc "This rake task imports 1 geographic area only" | |
task :import_one_area => :environment do | |
require 'nokogiri' | |
require 'open-uri' | |
require 'mechanize' | |
agent = Mechanize.new | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Place < ActiveRecord::Base | |
acts_as_gmappable For Google Maps | |
#For Google Maps | |
def gmaps4rails_address | |
"#{address}, #{city}, #{state}, #{zipcode}" | |
end | |
geocoded_by :complete_address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= gmaps4rails(@json) %> | |
<%= form_tag places_path, :method => :get do %> | |
<%= text_field_tag :search, params[:search], placeholder: "Enter your zipcode or city", class: "search-query"%> | |
<%= submit_tag "Search Nearby", :name => nil, class: "btn btn-flat"%> | |
<% end %> |