Displaying 20 results from an estimated 80000 matches similar to: "Error at RoR with MySql 4."
2010 Jun 10
0
How come need to get MySQL to work in a strange way?
The following is an error for using RoR with MySQL:
C:\ror\shov17>rake db:migrate
(in C:/ror/shov17)
!!! 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!
193: %1 is not a valid Win32 application. -
c:/ruby/lib/ruby/gems/1.8/gems/mys
ql-2.8.1-x86-mingw32/lib/1.8/mysql_api.so
(See full trace by running
2013 Jun 27
2
[HELP] RoR Fedena App Installation: Rake Gem
I''m really a newbie with RoR.
But I need to deploy this app as soon as possible.
RoR App: Fedena
RoR Ver: 1.8.7
When I type any rake commands I always encounter this problem:
rake aborted!
uninitialized constant ActiveSupport::Dependencies::Mutex
Locally, I did find the solution for this problem by downgrading my Rake
Gem version from 0.9.2 to 0.8.7.. The problem is installing it on
2010 Feb 23
0
rake db:create:wants LibMySQL.dll for MySQL 5.0.37; where?
Hi All,
I''m running:
WinXP-Pro/SP3
Rails 2.3.5
MySQL 5.0.37-community-nt
I ran rake db:create:all and got something like:
LibMySQL.dll required.
I had a worse symptom previously when, on an earlier post on a related
failure, Sharagoz kindly suggested I drop back to a 5.0 version of
MySQL.
As I prepared this post, I wanted to recall my version. In
particular, I wanted to run
select *
2010 Oct 02
3
MySQL setup question
Hello,
I''m new to ror and i really like it so far! for a new application i
would like to setup a ror application connecting to mysql but i can''t
figure it out how. rails works fine with sqllite out the box but i
need it working with mysql. these are my versions:
-OSX snow leopard
-ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
-Rails 3.0.0
$
2011 Oct 11
2
ROR Development Assignments at Pune
Hi,
Am using ab(Apache Benchmark) for load test in my rails app.
ab -n10 -c10 -p ~/post_data_ab.txt -T "multipart/form-data;
boundary=1234567" http://localhost:3000/albums
...
I have used the above command for testing upload photos. But am
getting
error which I don''t know how o handle.
Can anyone help?
Btw, I also need few teammates to handle development & bug fixing for
2010 Jan 20
4
Rake Aborted wont Migrate mysql
Hello all, I''ve been trying to get ruby on rails to work with my local
install of mysql(its with wamp). Windows XP, Ruby 1.8.6, rails 2.3.5,
rubygems 1.3.5, mysql 5.2 something I believe.
I have ruby installed in:
C:\Ruby
and my mysql is installed in:
C:\wamp\bin\mysql\mysql5.1.30\bin
I''ve attempted to change my database.yml file to include the port 80,
and port 3036, the
2011 Apr 20
6
rake db:create fails
Hello folks,
I´m here trying to find the way to solve my problem.
When i try to run
rake db:create or rake db:create:all
the process stops and the databases are not created.
I change the directives, putting --trace before the rake db:create and
the steps are
C:\appws\cookbook>rake db:create --trace
(in C:/appws/cookbook)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
2011 Mar 08
6
RoR failure
I am a newbie at RoR and am disappointed by the fact that I couldn''t
install it in my Ubuntu 10.10 using an IDE. I tried NetBeans 6.9.1,
Eclipse 3.6.2, Aptana Studio and its plugin for Eclipse and RubyMine.
There was always a problem somewhere (rails, rubygems, rake, etc)
preventing me from working with my project. I currently have Netbeans
6.9.1 bundled with java jdk 1.6.0. I''ve
2010 Nov 05
0
RoR:OSV: Installation issue
I am trying to get a local installation of OpenStreetView, on Ubuntu
10.10
On installing Rails (2.3.8) and OSV code using git, when I issue
"rake" command, I get response, which is reproduced below signature.
What is missing from my installation?
--
.O.C.
$ rake
(in /home/meet/OSV/OpenStreetView)
/usr/bin/ruby1.8 -I"lib:test" "/var/lib/gems/1.8/gems/rake-0.8.7/lib/
2010 Jul 02
22
MySQL not Connected ...... *pull hair*
I''m trying to run " rake db:migrate " and im getting an error back:
------------------------------------------------------------------------
C:\wamp\www\demoproject>rake db:migrate
(in C:/wamp/www/demoproject)
rake aborted!
Mysql::Error: query: not connected: CREATE TABLE `schema_migrations`
(`version`
varchar(255) NOT NULL) ENGINE=InnoDB
(See full trace by running task
2011 Sep 30
1
RoR running on Localhost but not on Heroku
Hey there,
I have been following http://ruby.railstutorial.org/chapters/beginning#top
since yesterday and I am going good on my machine with ROR. I have used
RailsInstaller for my environment on Windows7. My two apps are working good
on my localhost:3000 but as I put them into Heroku, I am getting error,
respectively, http://meinkampf.heroku.com and http://smoothipod.heroku.com.
I wonder
2011 Apr 08
0
Fedena installation: Error
am getting error:
rake db:migrate
(in /home/hsrai/public_html/ERP/ERP_Campus/projectfedena_v2.0)
rake aborted!
can''t activate , already activated prawn-0.11.1
Where is problem?
Fedena is Ruby on Rails (RoR) application.
My installation log is below signature.
mkdir ERP
cd ERP
wget http://202.164.53.122/ERP/ERP_Campus.tar.gz
tar -zxvf ERP_Campus.tar.gz
cd
2012 May 23
2
rake error
/usr/bin/rake:9:in `require'': no such file to load -- rubygems
(LoadError)
from /usr/bin/rake:9
I got this error when following an online guide in rails, the command
I had to type in was # rake db:create.. after I typed in the command I
got the above error. It''s almost 2 days that I''m searching for a
solution to this. But in vain,
Can anyone help me out btw
2011 Nov 01
1
rake db:migrate aborted
I''m reading the rails tutorial book and in chapter 6 page 199 I have
to make a rake db:migrate, but I get this error:
rake aborted! undefined method `prerequisites'' for nil:NilClass
(See full trace by running task with --trace)
When I try with rake db:migrate --trace I get the following errors:
rake aborted!
undefined method `prerequisites'' for nil:NilClass
2011 Feb 01
10
SSL problems with RoR, MySQL and Apace
Hello All -
This is my first post into this forum and somewhat of a newb
to RoR so I''m hoping someone can help. I currently have a RoR app that
runs on Ubuntu with Apache and Mysql. There are two issues I''m having
and they are causing me to bang my head against the wall.
First one is RAILS_ENV: If I run ruby script/console it says that my
environment is development
2010 Feb 14
1
A (hopefully...) quick rake db:migrate question...
Hey Folks,
RoR noob here with a quick question. I have added a field to a table
using:
ruby script/generate migration add_price_to_product price:decimal,
and did: rake db:migrate afterwards.
no change was reflected in the "Views" though. I''m pretty sure i''m
missing something here, can anyone give me a pointer?
Many Thanks...
John
--
You received this message
connect': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (Mysql2
2011 Nov 07
1
connect': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (Mysql2
Hi all,
I did a fresh install of ROR on my fedora 15,i get the
following error.
" $ rails s
=> Booting WEBrick
=> Rails 3.1.1 application starting in development on
http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/home/prescience/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.6/lib/mysql2/client.rb:43:in
`connect'': Can''t connect to
2013 Oct 04
4
Best Book 4 RoR
Hello,
Is there a great book for Ror. I am looking for a book with a step by step
approch and by PROJECTS!!
RoR needs to be ''practiced'', and i didn''t find those WORKING PROJECTS.
Am i dreaming or is this paper exists. All the books on amazon are not
amazING. They talks only about
theory. Theory is fine, i mean this is RoR. But then...
Thanks for those who, first,
2010 Feb 04
0
How to start/stop database from rake?
Hello,
I would like to start the database server (postgres) before tests are run
and stop it afterwards. For this, I have created a little wrapper around
rake:
$ cat run-rake
#! /bin/sh
DB=`pwd`/db/pgdata
# init database cluster if it does not exist yet
[ -d $DB ] || initdb -D$DB
# start the database server
pg_ctl -D$DB -o "-h '''' -k
2010 Nov 09
2
Undefined method
I am very new to ROR. (Ruby 1.8.7, rails 2.1.1, rack
0.8.7, mysql 5.1.41)
I has my_app/lib/migration_helpers.rb file:
module MigrationHelpers
def self.foreign_key(from_table, from_column, to_table)
constraint_name = "fk_#{from_table}_#{to_table}"
execute %{alter table #{from_table}
add constraint #{constraint_name}
foreign key (#{from_column})