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
when "est", "eastern" then 'EDT -04:00' | |
when "edt", "eastern" then 'EDT -04:00' | |
when "cst", "central" then 'CDT -05:00' | |
when "cdt", "eastern" then 'EDT -04:00' | |
when "mst", "pacific" then 'MDT -06:00' | |
when "mdt", "pacific" then 'MDT -06:00' | |
when "pdt", "mountain" then 'PDT -07:00' | |
when "pst", "mountain" then 'PDT -07:00' |
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
Installing thor (0.18.1) | |
Installing bourbon (3.1.8) | |
Installing bcrypt-ruby (3.1.2) | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/Users/chiragpatel/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb | |
checking for ruby/util.h... *** extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of | |
necessary libraries and/or headers. Check the mkmf.log file for more | |
details. You may need configuration options. |
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
ubuntu@ip-10-169-24-111:~/www/mdm-server/current$ ~/www/mdm-server/current$ RAILS_ENV=staging bundle exec rails runner "GreatistApi.new" | |
-bash: /home/ubuntu/www/mdm-server/current$: No such file or directory |
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
ubuntu@ip-10-169-24-111:~$ bundle exec rails runner "File.open( 'greatist_since_today.json', 'w') {|f| f.write( GreatistApi.new.articles_since( 2.years.ago) ) }" | |
Could not locate Gemfile | |
ubuntu@ip-10-169-24-111:~$ cd www/mdm-server/current | |
ubuntu@ip-10-169-24-111:~/www/mdm-server/current$ bundle exec rails runner "File.open( 'greatist_since_today.json', 'w') {|f| f.write( GreatistApi.new.articles_since( 2.years.ago) ) }" | |
2014-03-10T17:05:42Z 8455 TID-bckxo INFO: Sidekiq client with redis options {} | |
/home/ubuntu/www/mdm-server/shared/bundle/ruby/1.9.1/gems/mysql2-0.3.15/lib/mysql2/client.rb:67:in `connect': Access denied for user 'root'@'localhost' (using password: YES) (Mysql2::Error) | |
from /home/ubuntu/www/mdm-server/shared/bundle/ruby/1.9.1/gems/mysql2-0.3.15/lib/mysql2/client.rb:67:in `initialize' | |
from /home/ubuntu/www/mdm-server/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.14/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in `new' | |
from /home/ubuntu/www/mdm-server/shared/bundle/ruby/1.9 |
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
4 6 1 5 7 | |
8 1 7 3 9 | |
10 4 6 8 5 | |
3 5 5 3 3 | |
8 7 8 8 4 | |
3 6 8 9 6 | |
2 1 4 7 6 | |
8 6 9 4 6 | |
8 7 9 7 10 | |
5 5 1 8 8 |