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
dmilith:(~/Projects/drAdmin)$ jruby -S merb -p 4000 < vks-mirmil > | |
Loading init file from /home/dmilith/Projects/drAdmin/config/init.rb | |
Loading /home/dmilith/Projects/drAdmin/config/environments/development.rb | |
~ Connecting to database... | |
DEPRECATION WARNING: ActiveRecord::Base.verification_timeout= has been deprecated and no longer has any effect. Please remove all references to verification_timeout=.. (called from verification_timeout= at /home/dmilith/Projects/jruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:106) | |
~ Using ActiveRecord sessions |
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):003:0> z = "żxczółą".force_encoding "UTF-8" | |
=> "\305\274xcz\303\263\305\202\304\205" | |
irb(main):004:0> z.tr "ż", "Ż" | |
ArgumentError: incompatible character encodings: UTF-8 and ASCII-8BIT | |
from (irb):5 | |
irb(main):012:0> z.tr "ż".force_encoding("UTF-8"), "Ż".force_encoding("UTF-8") | |
=> "\305\273xcz\303\263\305\202\304\205" | |
irb(main):013:0> z | |
=> "\305\274xcz\303\263\305\202\304\205" |
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
Loading... load error: /home/dmilith/.irbrc | |
TypeError: can't convert Regexp into Integer | |
/home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:363:in `find_name' | |
/home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:362:in `each' | |
/home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:362:in `find_name' | |
/home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:360:in `each' | |
/home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:360:in `inject' | |
/home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:360:in `find_name' |
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 Z < Object | |
>> def hi | |
>> puts "ha!" | |
>> end | |
>> end | |
=> nil | |
>> zz = Z.new | |
=> #<Z:0x1da2737 @java_object=#<Java::JavaObject:0x14492fb> | |
>> zz.hi |
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
jgem install mongrel minigems postgres-pr mongrel jruby-openssl uuid gchartrb merb-core merb-more merb_activerecord merb_test_unit rake thor glassfish haml merb-haml rails --no-ri --no-rdoc |
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
dmilith:(~/Projects/drAdmin)$ jgem install minigems --no-ri --no-rdoc < vks-mirmil > | |
Run 'minigem' for instructions on how to proceed. | |
Successfully installed minigems-0.9.8 | |
1 gem installed | |
dmilith:(~/Projects/drAdmin)$ jruby -S minigem prepare merb-core < vks-mirmil > | |
Installed minigems at /home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb | |
Adapted /home/dmilith/Projects/jruby/bin/merb to use minigems instead of rubygems. | |
dmilith:(~/Projects/drAdmin)$ jruby -S minigem prepare merb-gen < vks-mirmil > | |
Adapted /home/dmilith/Projects/jruby/bin/merb-gen to use minigems instea |
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
merb : worker (port 4000) ~ Executed all before worker shutdown callbacks... | |
~ Compiling routes... | |
~ Activating slice 'MerbAuthSlicePassword' ... | |
merb : worker (port 4000) ~ Starting Mongrel at port 4000 | |
merb : worker (port 4000) ~ Successfully bound to port 4000 | |
merb : worker (port 4000) ~ Executed all before worker shutdown callbacks... | |
~ Compiling routes... | |
~ Activating slice 'MerbAuthSlicePassword' ... | |
merb : worker (port 4000) ~ Starting Mongrel at port 4000 | |
merb : worker (port 4000) ~ |
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
INFO: GlassFish v3 Prelude startup time : Felix(2488ms) startup services(23919ms) total(26407ms) | |
Dec 20, 2008 3:14:15 PM com.sun.grizzly.Controller doSelect | |
SEVERE: doSelect exception | |
java.io.IOException: Too many open files | |
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) | |
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145) | |
at com.sun.grizzly.TCPSelectorHandler.acceptWithoutRegistration(TCPSelectorHandler.java:637) | |
at com.sun.grizzly.TCPSelectorHandler.onAcceptInterest(TCPSelectorHandler.java:648) | |
at com.sun.grizzly.Controller.doSelect(Controller.java:396) | |
at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:82) |
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
/home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:379:in `report_activate_error': Could not find RubyGem glassfish (>= 0) (Gem::LoadError) | |
from /home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:199:in `activate' | |
from /home/dmilith/Projects/jruby/lib/ruby/site_ruby/1.8/minigems.rb:105:in `gem' | |
from /home/dmilith/Projects/jruby/bin/glassfish:26 |
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
jgem install mongrel minigems postgres-pr mongrel jruby-openssl uuid gchartrb merb-core merb-more merb_activerecord merb_test_unit rake thor glassfish haml merb-haml rails wirble map_by_method what_methods duration --no-ri --no-rdoc |