This file contains hidden or 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
<VirtualHost *:80> | |
ServerName pow | |
ServerAlias *.dev | |
ServerAlias *.xip.io | |
ProxyPassMatch ^/~ ! | |
ProxyPass / http://localhost:20559/ | |
ProxyPassReverse / http://localhost:20559/ | |
ProxyPreserveHost On | |
</VirtualHost> |
This file contains hidden or 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
def find_by_row_identifier_and_column_name(row_identifier, column_name) | |
#XPath resources | |
# http://msdn.microsoft.com/en-us/library/ms256086.aspx | |
# | |
# Figure out the column number for the given column_name | |
# //th[contains(., 'Magic')] find the first TH whose enclosing EM is 'Magic' | |
# /preceding::th finds the collection of TH elements which appear before this one | |
# XML indexes start with 1 not 0, so we add 1 | |
column_number = 1 + all(:xpath, "//th[contains(., '#{column_name}')]/preceding::th").length |
This file contains hidden or 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
14:43:13,526 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) Warning: no min runtimes specified. | |
14:43:13,532 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) Warning: no max runtimes specified. | |
14:43:13,536 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) An exception happened during JRuby-Rack startup | |
method 'to_yaml' not defined in Object | |
--- System | |
jruby 1.6.6 (ruby-1.9.2-p312) (2012-01-30 5673572) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java] | |
Time: 2012-01-30 14:43:13 -0700 | |
Server: JBoss Web/7.0.7.Final | |
jruby.home: classpath:/META-INF/jruby.home |
This file contains hidden or 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
$ java -version | |
java version "1.6.0_26" | |
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425) | |
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode) |
NewerOlder