开发者

typing bin/jruby -S rails myapp I get the output telling me how to use the rails command?

开发者 https://www.devze.com 2023-01-17 02:48 出处:网络
I insalled jruby, and when I type: > bin/jruby -S rails myapp I get: bin/jruby -S rails myapp -d mysql

I insalled jruby, and when I type:

> bin/jruby -S rails myapp 

I get:


bin/jruby -S rails myapp -d mysql
Usage:
  rails new APP_PATH [options]

Options:
  -r, [--ruby=PATH]           # Path to the Ruby binary o开发者_StackOverflow社区f your choice
                              # Default: /Users/snad/dev/jruby/jruby-1.5.2/bin/jruby
  -d, [--database=DATABASE]   # Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db)
..
..
..

It seems to be conflicing with my rails (3.0) installation?


Type jruby -S rails --version. I bet you have Rails 3.0.0 installed as jruby gem. So you should either use jruby -S rails new myapp to create an app or rollback to rails 2.3.8 if you need it for some specific reason.

0

精彩评论

暂无评论...
验证码 换一张
取 消