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
activerecord-2.2.3/lib/active_record/base.rb:2058:in `class_of_active_record_descendant': | |
NoMethodError: undefined method `abstract_class?' for Object:Class |
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
S:\>gem install curb -- --with-curl-dir=c:/Users/Greg/projects/curl-7.21.0-devel-mingw32 | |
Building native extensions. This could take a while... | |
ERROR: Error installing curb: | |
ERROR: Failed to build gem native extension. | |
C:/Ruby187/bin/ruby.exe extconf.rb --with-curl-dir=c:/Users/Greg/projects/curl-7.21.0-devel-mingw32 | |
"-g -O2 -DFD_SETSIZE=256 $(cflags)" | |
checking for curl-config... no | |
checking for main() in -lcurl... yes | |
checking for curl/curl.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
S:\>gem list mysql | |
*** LOCAL GEMS *** | |
mysql (2.8.1 x86-mingw32) | |
S:\>ruby script\runner | |
** Erubis 2.6.6 | |
** Erubis 2.6.6 |
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
S:\>ruby -v | |
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] | |
S:\>ruby script\runner | |
** Erubis 2.6.6 | |
** Erubis 2.6.6 | |
SQL (0.0ms) SET NAMES 'utf8' | |
SQL (0.0ms) SET SQL_AUTO_IS_NULL=0 | |
User Columns (1.0ms) SHOW FIELDS FROM `users` | |
Friendship Columns (1.0ms) SHOW FIELDS FROM `friendships` |
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
@_o | |
def read_map_chunk(self): | |
x = yield self.read_int() | |
y = yield self.read_short() | |
z = yield self.read_int() | |
size_x = yield self.read_byte() | |
size_y = yield self.read_byte() | |
size_z = yield self.read_byte() | |
compressed_chunk_size = yield self.read_int() | |
compressed_chunk = yield self.client.read(compressed_chunk_size) |
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
diff --git a/vm/builtin/io.cpp b/vm/builtin/io.cpp | |
index 64989ce..a5e7321 100644 | |
--- a/vm/builtin/io.cpp | |
+++ b/vm/builtin/io.cpp | |
@@ -5,6 +5,7 @@ | |
#include <fcntl.h> | |
#ifdef RBX_WINDOWS | |
#include <winsock2.h> | |
+#include <ws2tcpip.h> | |
#else |
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
irb(main):001:0> a = [1,2,3,4,5] | |
=> [1, 2, 3, 4, 5] | |
irb(main):002:0> a[0..3-1] | |
=> [1, 2, 3] | |
irb(main):003:0> a[0,3] | |
=> [1, 2, 3] |
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
SELECT groups.name, count(distinct group_memberships.id) as count_id FROM groups INNER JOIN group_memberships ON group_memberships.group_id = groups.id LIMIT 3; |
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
% cumulative self self total | |
time seconds seconds calls ms/call ms/call name | |
------------------------------------------------------------ | |
15.21 340.42 211.90 31027435 0.01 0.01 Hash::Entry#match? | |
7.48 371.10 104.25 5956641 0.02 0.06 Hash#find_entry | |
5.92 415.34 82.50 3879913 0.02 0.11 Hash#[]= | |
5.12 70.80 71.34 34370433 0.00 0.00 Rubinius::Tuple#[] | |
4.74 65.70 65.98 31793459 0.00 0.00 Kernel#equal? | |
4.60 63.71 64.12 31149801 0.00 0.00 Symbol.=== | |
3.33 66.76 46.38 10065865 0.00 0.01 Hash#key_index |
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
===== Thread 0 ===== | |
Total running time: 1339.589594s | |
index % time self children called name | |
---------------------------------------------------------- | |
[1] 99.9 0.00 1338.55 1 Rubinius::Loader#script [1] | |
0.00 1338.55 1 Rubinius::CodeLoader.load_script [2] | |
0.00 0.00 1 IO.read | |
------------------------------------------------------- | |
0.00 1338.55 1 Rubinius::Loader#script [1] | |
[2] 99.9 0.00 1338.55 1 Rubinius::CodeLoader.load_script [2] |
OlderNewer