script/generate error.

View: New views
3 Messages — Rating Filter:   Alert me  

script/generate error.

by Mauro-27 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've created a new jruby on rails applicazion.
Jruby version is 1.4.0.
I've installed all requested gems.
If I run the application works without problems.
If I run script/generate to see all available generators I've this error:

/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in
`establish_connection': Please install the jdbcpostgresql adapter.

I have just installed jdbcpostgresql adapter, indeed the application works.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: script/generate error.

by Aaron McLeod :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Then its not picking it up, are you sure the adapter is in your $PATH variable?

On Wed, Nov 4, 2009 at 7:30 AM, Mauro <mrsanna1@...> wrote:
I've created a new jruby on rails applicazion.
Jruby version is 1.4.0.
I've installed all requested gems.
If I run the application works without problems.
If I run script/generate to see all available generators I've this error:

/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in
`establish_connection': Please install the jdbcpostgresql adapter.

I have just installed jdbcpostgresql adapter, indeed the application works.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
Aaron McLeod
http://agmprojects.com

Re: script/generate error.

by Mauro-27 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/4 Aaron McLeod <sircoolguy99@...>:
> Then its not picking it up, are you sure the adapter is in your $PATH
> variable?
>
My wrong I have to launch jruby script/generate.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email