I tried generating a template Merb (0.9.3) app using JRuby 1.1.1 and 1.1 as: bin/jruby -S merb-gen app hello and the command returns without generating any files or error message. What's missing ? -Arun -- Application Platform, Sun Microsystems, Inc. Blog: http://blogs.sun.com/arungupta --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 13.05.2008 23:37
on 13.05.2008 23:47
On May 13, 2008, at 4:36 PM, Arun Gupta wrote: > I tried generating a template Merb (0.9.3) app using JRuby 1.1.1 and > 1.1 as: > > bin/jruby -S merb-gen app hello > > and the command returns without generating any files or error message. > > What's missing ? It works for me on 1.1.1. Do you have the merb-gen gem installed? :dudley --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 13.05.2008 23:53
Yes, here is the list of gems installed: Successfully installed abstract-1.0.0 Successfully installed erubis-2.6.0 Successfully installed json_pure-1.1.2 Successfully installed rack-0.3.0 Successfully installed hpricot-0.6-java Successfully installed mime-types-1.15 Successfully installed merb-core-0.9.3 Successfully installed rubyforge-0.4.5 Successfully installed hoe-1.5.1 Successfully installed RubyInline-3.6.7 Successfully installed ParseTree-2.1.1 Successfully installed ruby2ruby-1.1.8 Successfully installed merb-action-args-0.9.3 Successfully installed merb-assets-0.9.3 Successfully installed activesupport-2.0.2 Successfully installed rubigen-1.3.1 Successfully installed merb-gen-0.9.3 Successfully installed haml-1.8.2 Successfully installed merb-haml-0.9.3 Successfully installed builder-2.1.2 Successfully installed merb-builder-0.9.3 Successfully installed mailfactory-1.3.1 Successfully installed merb-mailer-0.9.3 Successfully installed merb-parts-0.9.3 Successfully installed merb-cache-0.9.3 Successfully installed merb-freezer-0.9.3 Successfully installed merb-more-0.9.3 Successfully installed gem_plugin-0.2.3 Successfully installed mongrel-1.1.4-java Successfully installed merb-0.9.3 -Arun Dudley Flanders wrote: >> What's missing ? > > -- Application Platform, Sun Microsystems, Inc. Blog: http://blogs.sun.com/arungupta --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 14.05.2008 04:38
Arun, I just did a clean install of JRuby 1.1.1, Rails 2.0.2, Merb 0.9.3, and all dependent gems. I ran the same command you did with the only difference being that I have JRuby in my $PATH variable so I can just run "$ jruby -S merb-gen app merbtest" I also have Java 1.6 (soy latte) installed and in my path as well. I don't know if that would make a difference... - Robert Dempsey
on 29.05.2008 02:25
Reviving this thread ... I tried with different versions of JRuby (1.1, 1.1.1, 1.1.2) and Java (JDK 1.5.0, 1.6.0_05) and still not able to generate a simple Merb app. Another user reported similar error at: http://blog.nodeta.fi/2008/05/22/living-on-the-edge-jruby-merb-glassfish/ How do I debug ? -Arun Robert Dempsey wrote: > - Robert Dempsey -- Application Platform, Sun Microsystems, Inc. Blog: http://blogs.sun.com/arungupta --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
on 29.05.2008 03:46
Arun, it's working fine here:(OS X 10.5) $ jruby -v ruby 1.8.6 (2008-04-22 rev 6555) [i386-jruby1.1.1] $ jruby -S gem list | grep merb merb (0.9.3) merb-action-args (0.9.3) merb-assets (0.9.3) merb-builder (0.9.3) merb-cache (0.9.3) merb-core (0.9.3) merb-freezer (0.9.3) merb-gen (0.9.3) merb-haml (0.9.3) merb-mailer (0.9.3) merb-more (0.9.3) merb-parts (0.9.3) merb_activerecord (0.9.3) I installed merb from as a regular gem: $ jruby -S gem install merb $ jruby -S gem install activerecord-jdbcmysql-adapter Please note that it's only working with activerecord on jruby, as datamapper has C native extensions. Sequel seems to have beta jruby support, but I haven't tried. $ jruby -S merb-gen app merbtest RubiGen::Scripts::Generate ... $ cd merbtest $ jruby -S merb I'm running it without any problems (http://localhost:4000). I could also generate scaffolds, after updating config/init.rb and config/database.yml to use activerecord and jdbcmysql-adapter. $ jruby -S merb-gen resource post content:text author:string BTW, ... $ jruby -S gem install jetty-rails $ jruby -S jetty_merb ... works as well! ;-) On Wed, May 28, 2008 at 9:16 PM, Arun Gupta <Arun.Gupta@sun.com> wrote: > >> merb-gen app merbtest" > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Fabio Kung http://www.fabiokung.com Caelum - Ensino e Soluções em Computação http://www.caelum.com.br