Add debug support for rails5

This commit is contained in:
Newell Zhu
2016-06-09 18:40:25 +08:00
parent f3e368c723
commit b27022749f
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ then
fi
# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties -DdebugSupportingFiles"
ags="$@ generate -t modules/swagger-codegen/src/main/resources/rails5 -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l rails5 -o samples/server/petstore/rails5"
java $JAVA_OPTS -jar $executable $ags

View File

@@ -14,7 +14,7 @@ bundle install
This sample was generated with the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.
```
bin/rake db:create
bin/rake db:create db:migrate
bin/rails s
```