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
2009-04-20 15:44:30] ERROR #<NoMethodError: undefined method `start' for Thin:Module> | |
[2009-04-20 15:44:30] ERROR /usr/local/lib/ruby/gems/1.9.1/gems/ramaze-2009.03/lib/ramaze/adapter.rb:58:in `start_adapter' | |
[2009-04-20 15:44:30] ERROR /usr/local/lib/ruby/gems/1.9.1/gems/ramaze-2009.03/lib/ramaze/adapter.rb:28:in `startup' | |
[2009-04-20 15:44:30] ERROR /usr/local/lib/ruby/gems/1.9.1/gems/ramaze-2009.03/lib/ramaze.rb:95:in `block in startup' | |
[2009-04-20 15:44:30] ERROR /usr/local/lib/ruby/gems/1.9.1/gems/ramaze-2009.03/lib/ramaze.rb:94:in `each' | |
[2009-04-20 15:44:30] ERROR /usr/local/lib/ruby/gems/1.9.1/gems/ramaze-2009.03/lib/ramaze.rb:94:in `startup' | |
[2009-04-20 15:44:30] ERROR /mnt/hgfs/provolve-platform/delivery/start.rb:8:in `<top (required)>' | |
[2009-04-20 15:44:30] ERROR /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.0.0/lib/rack/adapter/loader.rb:39:in `require' | |
[2009-04-20 15:44:30] ERROR /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.0.0/lib/rack/adapter/loader.rb:39:in `for' | |
[2009-04-20 15:44:30] ERRO |
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
# This is a MySQL example config file for systems with 4GB of memory | |
# running mostly MySQL using InnoDB only tables and performing complex | |
# queries with few connections. | |
# | |
# You can copy this file to /etc/my.cnf to set global options, | |
# mysql-data-dir/my.cnf to set server-specific options | |
# (/usr/local/mysql/data for this installation) or to | |
# ~/.my.cnf to set user-specific options. | |
# | |
# In this file, you can use all long options that a program supports. |
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
require 'rubygems' | |
require 'open-uri' | |
require 'json' | |
class Lucky13Payout | |
def initialize(location={:playing_in_usa=>true}) | |
@slots_on_board= location[:playing_in_usa] ? 38 : 37 | |
end | |
def bet_and_spin_wheel(wager) |
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
module Helpers | |
module Output | |
def assert_output(expected, &block) | |
keep_stdout do |stdout| | |
block.call | |
if expected.is_a?(Regexp) | |
assert_match expected, stdout.string | |
else | |
assert_equal expected.to_s, stdout.string | |
end |
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
named_scope :job_titles, lambda { |ut| { :conditions => { :user_type => ut } }} | |
named_scope :search_analysts, lambda { job_titles('Search Analyst') } | |
named_scope :marketing_analysts, lambda { job_titles('Marketing Analyst') } | |
named_scope :seo_specialists, lambda { job_titles('Link Specialist') } |
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 kgio (2.3.0) with native extensions /Users/tim/.rvm/rubies/ruby-1.8.7-p299/lib/ruby/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) | |
/Users/tim/.rvm/rubies/ruby-1.8.7-p299/bin/ruby extconf.rb | |
checking for poll() in poll.h... yes | |
checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... yes | |
checking for getnameinfo() in sys/socket.h,netdb.h... yes | |
checking for struct sockaddr_storage in sys/types.h,sys/socket.h... yes | |
checking for accept4() in sys/socket.h... no | |
checking for ruby/io.h... no | |
checking for OpenFile in ruby.h,rubyio.h... yes |
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
Current master: | |
-> ls -la /db | grep local | |
drwxr-xr-x 2 root root 6 Feb 16 16:28 local | |
-rw------- 1 root root 67108864 Feb 16 16:26 local.0 | |
-rw------- 1 root root 134217728 Feb 16 16:26 local.1 | |
-rw------- 1 root root 2146435072 Feb 16 16:26 local.2 | |
-rw------- 1 root root 16777216 Feb 16 16:26 local.ns | |
-> mongo |
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
Processing ContentController#self_storage_associates (for 82.80.249.230 at 2011-03-14 21:20:23) [GET] | |
Parameters: {"area_admin_name"=>"Dinuba_CA", "action"=>"self_storage_associates", "controller"=>"content"} | |
Rendering template within layouts/securedselfstorageca | |
Rendering content/associates | |
------GTS ERROR: An exception occurred persisting the page view------ | |
Expected response 11 but got 10 | |
/var/cache/engineyard/ruby/1.8/gems/mongo-1.2.4/lib/../lib/mongo/connection.rb:670:in `receive_header' | |
/var/cache/engineyard/ruby/1.8/gems/mongo-1.2.4/lib/../lib/mongo/connection.rb:657:in `receive' | |
/var/cache/engineyard/ruby/1.8/gems/mongo-1.2.4/lib/../lib/mongo/connection.rb:435:in `receive_message' |
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
...-- | |
Wed Mar 23 15:24:12 [conn129264] end connection 10.122.202.6:33266 | |
Wed Mar 23 15:24:12 [initandlisten] connection accepted from 10.122.202.6:33267 #129265 | |
Wed Mar 23 15:24:12 [conn129265] end connection 10.122.202.6:33267 | |
Wed Mar 23 15:24:12 [initandlisten] connection accepted from 10.122.202.6:33270 #129266 | |
Wed Mar 23 15:24:13 [conn129106] query admin.$cmd ntoreturn:1 command: { serverStatus: 1 } reslen:923 150ms | |
Wed Mar 23 15:24:13 [conn129257] insert gts_production.page_views 504ms | |
Wed Mar 23 15:24:18 [initandlisten] connection accepted from 127.0.0.1:60225 #129267 | |
Wed Mar 23 15:24:18 [conn129267] end connection 127.0.0.1:60225 | |
Wed Mar 23 15:24:18 [initandlisten] connection accepted from 127.0.0.1:60226 #129268 |
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
mongostat | |
connected to: 127.0.0.1 | |
insert/s query/s update/s delete/s getmore/s command/s flushes/s mapped vsize res faults/s locked % idx miss % q t|r|w conn time | |
5 9 0 0 5 2 0 35120 35890 7280 1 1.8 0 0|0|0 17 15:51:42 | |
6 12 0 0 5 2 0 35120 35890 7280 0 0.1 0 0|0|0 17 15:51:43 | |
6 12 0 0 5 2 0 35120 35890 7280 1 2 0 0|0|0 17 15:51:44 | |
4 7 0 0 4 2 0 35120 35890 7280 0 0 0 0|0|0 17 15:51:46 | |
4 6 0 0 4 2 0 35120 35890 7280 0 0 0 0|0|0 17 15:51:47 | |
0 0 0 0 0 2 0 35120 35890 7280 0 0 0 0|0|0 |
OlderNewer