search for: jdbcmysql

Displaying 12 results from an estimated 12 matches for "jdbcmysql".

2009 Apr 04
1
JRuby on Rails
Hi This is my first post, and i would like to know if here we can talk about JRuby on Rails too, or just Ruby on Rails. If we can talk about JRuby, i would like to ask about a problem. I have installed the lastest version of jruby, rails, and activerecord for jdbcmysql adapter. When i run: # rake db:create Anyone error messages apper, and anyone database is created. Is this a know issue? There is a way of correct this? My database.yml is right defined to use jdbcmysql as adapter. Thank you... -- Tiago --~--~---------~--~----~------------~-------~--~----~...
2011 Feb 25
7
Rspec2 for rails 2.3.8?
Hi experts, I picked up a copy of the rspec book and wrote some tests in spec/lib and spec/models for my Rails 2.3.8 code. I was using rspec 2.5.1, rspec-core 2.5.0, rspec-expectations 2.5.0 et. al. But I realised that the rspec-rails version I am using is meant for Rails3. Which version of rspec-rails should I use for Rails 2.3.8? Best, Radhesh -- Posted via http://www.ruby-forum.com/.
2010 Sep 27
3
having some issues with factory_girl and bundler...
Hi All Need some brilliants minds here :) I''m using Rails 2.3.8 & ruby 1.8 (I know, I know... ) I''ve move my gems from .gems to Bundler, but I''m having some issues with Factory_girl when I rake spec "uninitialized constant Factory" I''m following the instructions from http://gembundler.com/rails23.html. Basically: - grab all config.gem and place
2010 Aug 13
5
"uninitialized constant" Error for CalendarHelpper
...schedules_helper.rb:2 from /root/Aptana Studio/scheduler/app/helpers/schedules_helper.rb:31:in `require'' -------------------------------------------------------------------------------- Environment: OS:VineLinux 5.1, platform:AptanaStudio, Ruby:Jruby-1.5.1, DB:MySQL, adapter:activerecord-jdbcmysql-adapter-0.9.7 Placed ''include CalendarHelper'' in schedules_helper.rb and "require ''calendar_helper''" statement at the bottom of config/environment.rb. Does someone know how to solve this? -- Posted via http://www.ruby-forum.com/. -- You received th...
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
I''m getting the following error while connecting to mysql using activerecord-jdbcmysql-adapter (1.0.2). Rails 3.0.1. ActiveRecord::JDBCError: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0 This occurs not matter what application I run it in to e.g. rake, rails c...
2009 Oct 20
3
gem installation failed
i got this error message while installing mysql gem..... kindly help me to solve this issue.... JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. C:/Program Files/NetBeans
2009 Jun 23
1
ERROR: Error installing mongrel:
...astthread-1.0.7/ext/fastthread/gem_make.out [root at ip-97-74-86-181 bin]# And the gems list is:: [root at ip-97-74-86-181 bin]# gem list --local *** LOCAL GEMS *** actionmailer (2.3.2) actionpack (2.3.2) activemerchant (1.4.2) activerecord (2.3.2) activerecord-jdbc-adapter (0.9.1) activerecord-jdbcmysql-adapter (0.9.1) activeresource (2.3.2) activesupport (2.3.2) builder (2.1.2) calendar_date_select (1.15) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) gem_plugin (0.2.3) google-geocode (1.2.1) hoe (2.2.0) jdbc-mysql (5.0.4) money (2.1.3) rails (2.3.2) rake (0.8.7) rc-rest (2.2.1) rubyforge (1.0.3)...
2010 Oct 30
12
Anyone successfully ran JRuby 1.5.3, Rails 3, Tomcat6
Hi, I''ve been trying to get JRuby 1.5.3 with Rails 3 to run on the Tomcat6 server with little success. Has anyone been able to do this? If so, what issues did you have to overcome to get this to work? Also, is this a combination that you would recommend for a production site, or is it all too new and untested? The latest issue I''m stuck on right now is with the mysql-connector-
2010 Jun 09
4
db connection issues in production but not in dev mode
We have an application Ruby on rails, which fires a number of queries to the database. I Suspect it is connection timeout error or something When we run the application in development mode, it works as expected. However when we switch to Production mode, we get the following error in Postgre console: -------------------------- LOG: could not receive data from client: No connection could be made
2009 Apr 07
12
Problem with MYSQL after re-installing rails
Hey all- Re-installed OSX yesterday and with it, Ruby and Rails Now when I try to run db:migrate I get the error message: "!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. Rake aborted! no such file to load -- mysql" So, I try sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql And get:
2012 Feb 09
7
ruby script/server is not working
hi everyone i just typed ruby script/server -d and then after when i type again it is not working. i got this error [2012-02-09 16:19:54] WARN TCPServer Error: Address already in use - bind(2) Exiting /usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Address already in use - bind(2) (Errno::EADDRINUSE) from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new'' from
2009 Oct 12
15
We're sorry, but something went wrong on Tomcat
I am using JRuby and I have to deploy on Tomcat. My web app is working fine in the dev envirmonment, with Mongel, but when I deploy on Tomcat I get "We''re sorry, but something went wrong on Tomcat". The problem is that production.log only shows: # Logfile created on Mon Oct 12 12:54:36 +0100 2009-bash-3.00 The file permission and directory are 777. Any idea how I can