jrubyonrails - JRuby on Rails without a database -
I am kicking a new rail project in NetBeans using JRB (v1.2.0) which uses rail (2.3.2)
I have removed this line in my environment
config.frameworks - = [: active_record,: active_resource,: Action_mailer]
However, I am also trying to call an error. Hosting on GlassFish
java.net.SocketException: java.net.ConnectException: Connection refused: com.mysql.jdbc.StandardSocketFactory.connect Connect on (StandardSocketFactory.java:156) Com.mysql.jdbc at Com On .mysql.jdbc.Connection at com.mysql.jdbc.Connection.createNewIO (connection.javajoy666). Magicalo (MysqlIO.java.776) (Connection. Java.1531)
Any ideas, where can I need changes to not use any databases? Thanks
The first step, make sure that you have config / environment / [any environment specific in your NY Not override] .RB
I have just done one test:
- Create a new rail app
- config / environment.rb config.
- Edit the browser to make the frameworks incomplete
- jruby script / server
- Point Browser on the local host:
- 3000 / hello
All OK - An ActiveRecord Error Not how to do?
Comments
Post a Comment