I’m using rails 2.3.5 and jruby 1.4.0.
I have to manually create the database.
Is it normal?
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I’m using rails 2.3.5 and jruby 1.4.0.
I have to manually create the database.
Is it normal?
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
what version of activerecord-jdbc-adapter are you using?
On Fri, Jan 22, 2010 at 6:09 AM, Mauro [email protected] wrote:
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Hi,
On Fri, Jan 22, 2010 at 12:09 PM, Mauro [email protected] wrote:
I’m using rails 2.3.5 and jruby 1.4.0.
I have to manually create the database.
Is it normal?
This is not normal. If you’re using the latest activerecord-jdbc, then
you need to invoke:
jruby script/generate jdbc
Nick’s blog pots describes that in more detail:
http://blog.nicksieger.com/articles/2009/10/12/fresh-0-9-2-activerecord-jdbc-adapter-release
But looks like the site is down at the moment…
Thanks,
–Vladimir
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
What happens when you try to run jruby -S rake db:create?
I know in rails 2.3.3 and jruby 1.3.1 I was able to create the db just
fine.
You do however need to use the jdbc adapter, so make sure you have your
yml
file setup correctly for that.
This is for jruby 1.1, but give it a shot, and see if it helps you: *
http://blog.emptyway.com/2008/04/08/120-seconds-guide-to-jruby-on-rails/*
On 22 January 2010 14:00, Jay McGaffigan [email protected] wrote:
what version of activerecord-jdbc-adapter are you using?
0.9.2 with rails 2.3.5.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
On 22 January 2010 14:03, Aaron McLeod [email protected] wrote:
What happens when you try to run jruby -S rake db:create?
Nothing happens.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
what if you try rake db:create:all
does it create 2 out of the 3 dbs? (test/prod/dev)?
On Sat, Jan 23, 2010 at 3:05 PM, Mauro [email protected] wrote:
–Vladimir
To unsubscribe from this list, please visit:
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
On 22 January 2010 14:19, Vladimir S. [email protected] wrote:
jruby script/generate jdbc
Nick’s blog pots describes that in more detail:
Fresh 0.9.2 activerecord-jdbc-adapter ReleaseBut looks like the site is down at the moment…
I can manually create the database.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
On 23 January 2010 23:06, Jay McGaffigan [email protected] wrote:
what if you try rake db:create:all
does it create 2 out of the 3 dbs? (test/prod/dev)?
It doesn’t create anything.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
On 24 January 2010 01:10, Mauro [email protected] wrote:
On 23 January 2010 23:06, Jay McGaffigan [email protected] wrote:
what if you try rake db:create:all
does it create 2 out of the 3 dbs? (test/prod/dev)?It doesn’t create anything.
So with jruby I can’t use rake db:create?
I must manually create the database.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
you should be able to.
have you tried what nick posted?:
http://blog.nicksieger.com/articles/2009/10/12/fresh-0-9-2-activerecord-jdbc-adapter-release
On Wed, Feb 10, 2010 at 4:51 AM, Mauro [email protected] wrote:
To unsubscribe from this list, please visit:
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs