On Thu, Apr 8, 2010 at 2:31 AM, Asier <[email protected]> wrote: > > Nobody in the list is running ruote-kit with JRuby?
The original is at http://gist.github.com/359599 This was done on MacOSX Snow Leopard, with rvm 1.2.6 ---8<--- # # pre-requesites : rvm 1.2.6 (http://rvm.beginrescueend.com/) # cd tmp/ mkdir asier cd asier/ git clone [email protected]:tosch/ruote-kit.git git clone git://github.com/geekq/jetty-rackup.git # see http://github.com/geekq/jetty-rackup cd ruote-kit rvm use jruby rvm gemset create asier rvm gemset use asier vi .rvmc # making sure it contains "rvm use jr...@asier" gem update --system # had to upgrade my jruby rubygems to 1.3.6 vi ~/.rvm/rubies/jruby-1.4.0/bin/gem # # had to make sure the bang is # # #!/usr/bin/env jruby # # thanks to http://www.ruby-forum.com/topic/207430 vi Gemfile # # replace 'json' with 'json_pure' gem install jruby-openssl gem install rack bundler bundle install vi config.ru # # RuoteKit.configure do |config| # # # storage mode # #config.mode = :transient # # require 'ruote/storage/fs_storage' # config.set_storage(Ruote::FsStorage, 'work', 'cloche_nolock' => true) # # # run a worker # config.run_worker = true # # config.register do # # With this rackup I bundle as catchall, making it easy to experiment # catchall # end # end ../jetty-rackup/jetty-rackup # going to # # http://127.0.0.1:9292/ # # will result in a 'resource not found exception' # have to go to # # http://127.0.0.1:9292/_ruote --->8--- It works for me. Best regards, -- John Mettraux - http://jmettraux.wordpress.com -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en To unsubscribe, reply using "remove me" as the subject.
