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
W/dalvikvm( 158): VFY: unable to resolve new-instance 13 (Lorg/jruby/RubyInstanceConfig;) in Lcom/neurogami/jrubyhack/MainActivity; | |
W/dalvikvm( 158): VFY: rejecting opcode 0x22 at 0x0003 | |
W/dalvikvm( 158): VFY: rejected Lcom/neurogami/jrubyhack/MainActivity;.onCreate (Landroid/os/Bundle;)V | |
W/dalvikvm( 158): Verifier rejected class Lcom/neurogami/jrubyhack/MainActivity; | |
W/dalvikvm( 158): Class init failed in newInstance call (Lcom/neurogami/jrubyhack/MainActivity;) | |
D/AndroidRuntime( 158): Shutting down VM | |
W/dalvikvm( 158): threadid=3: thread exiting with uncaught exception (group=0x4000fe68) | |
E/AndroidRuntime( 158): Uncaught handler: thread main exiting due to uncaught exception | |
E/AndroidRuntime( 158): java.lang.VerifyError: com.neurogami.jrubyhack.MainActivity | |
E/AndroidRuntime( 158): at java.lang.Class.newInstance(Native Method) |
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
2008 conferences: | |
RubyConf, RailsConf, RailsConf EU, acts_as_conference, Euruko, Ruby Kaigi, Mountain West RubyConf, eRubyCon, Ruby Hoedown, Amsterdam Ruby en Rails, Scotland on Rails, RubyFools Copenhagen, RubyFools Oslo, Voices that Matter, South Carolina Ruby Conference, Lone Star RubyConf, RuPy, Gotham Ruby Conference, Silicon Valley Ruby Conference, RubyCamp, Conferencia Rails, Rails Summit Latin America, Ruby Manor, Atlanta Merb Day, ... | |
2008 books: | |
NetBeans™ Ruby and Rails IDE with JRuby, Learning Rails, Rails for .NET Developers, Wicked Cool Ruby Scripts, JRuby Cookbook, Enterprise Recipes with Ruby and Rails, Developing Facebook Platform Applications with Rails, Foundation Rails 2, Enterprise Rails, Ruby On Rails Bible, Rails: Up and Running, Rails Pocket Reference, Ruby Phrasebook, Scripted GUI Testing with Ruby, Aptana RadRails, Advanced Rails Recipes, Deploying Rails Applications, The Art of Rails, Simply Rails 2, Practical REST on Rails 2 Projects, Ruby on Rails Web Mashup Projects, FXRuby: Cr |
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 'time' | |
class Time | |
def seconds_since_midnight | |
s = hour * 60*60 | |
s += min * 60 | |
s += sec | |
end | |
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
[james@host jruby]$ jruby --version | |
Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main | |
Caused by: java.lang.ClassNotFoundException: org.jruby.Main | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:200) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:307) | |
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:252) | |
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) |
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
check-for-optional-packages: | |
compile-jruby: | |
[apt] Since compiler setting isn't classic or modern,ignoring fork setting. | |
[apt] Compiling 723 source files to /home/james/vendor/jruby/build/classes/jruby | |
[apt] Since compiler setting isn't classic or modern,ignoring fork setting. | |
[apt] warning: Annotation types without processors: [java.lang.Override, java.lang.Deprecated, org.jruby.anno.JRubyConstant, java.lang.SuppressWarnings, org.jruby.anno.JRubyModule, java.lang.annotation.Retention, java.lang.annotation.Target, com.kenai.jaffl.annotations.Out, com.kenai.jaffl.annotations.In, com.kenai.jaffl.annotations.Transient] | |
[apt] 1 warning | |
[apt] Note: Some input files use unchecked or unsafe operations. | |
[apt] Note: Recompile with -Xlint:unchecked for details. |
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
From http://jacobian.org/writing/gpl-questions/ | |
Alex Gaynor: | |
"Unfortunately all the FSF can provide on a number of these questions is their opinion on the matter. Having spoken with the Software Freedom Law Center about the import issue recently the reality is there is no answer to some of these questions because no one has ever taken them to court." |
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
Jul 19, 2009 9:45:33 AM null | |
INFO: Listening on port 3000 | |
Jul 19, 2009 9:45:33 AM javax.enterprise.system.tools.admin.org.glassfish.server | |
INFO: Admin Console Adapter: context root: /_____admingui | |
Jul 19, 2009 9:45:33 AM null | |
INFO: The Admin Console Application is not yet installed. | |
Jul 19, 2009 9:45:33 AM null | |
INFO: Admin Console Adapter: context root: /_____admingui | |
Jul 19, 2009 9:45:33 AM javax.enterprise.system.tools.admin.org.glassfish.server | |
INFO: Admin Console Adapter: context root: /_____admingui |
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
# On CentOS 4.something, with JRuby installed as a pre-built binary. | |
# (ruby 1.8.6p287) (2009-06-03 5dc2e22) (Java HotSpot(TM) Client VM 1.6.0_10) [i386-java] | |
# Did jruby -S gem i glassfish, then ran | |
# jruby -S glassfish to run the app | |
# JRuby Gems installed: | |
*** LOCAL GEMS *** | |
builder (2.1.2) |
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 Foo | |
attr_accessor :baz, :biff | |
def initialize baz, biff | |
@baz, @biff = baz, biff | |
end | |
end | |
# Create an instance |
OlderNewer