Displaying 20 results from an estimated 5000 matches similar to: "rake db:create fails"
2011 Apr 27
1
Rake 0.8.7 issue on Rails 3, ruby 1.9.2 and Windows 7
Hi folks,
I´ve posted some days ago and receive your support. First i wish to
thank you.
I have this environment (Ruby 1.9.2, Rails 3.0.7, rake 0.8.7 ans MySQL
5.5.9 on Windows 7 32 bits) and another running on Ubuntu 9.10 (the
versions of Ruby, rails, rake and MySQL are the same).
So, i am able to do every rake task i call when i´m using ubuntu, even
rake db:create:all or rake db:migrate runs
2011 Apr 16
17
Rails 3 Crashing On Windows 7
Hi guys,
I have Rails 3 running on Windows 7 with Ruby 1.9.2
Every now and again, my server crashes, and I see the following
information in the windows event log:
Faulting application name: ruby.exe, version: 1.9.2.180, time stamp:
0x4d5ee5ed
Faulting module name: msvcrt-ruby191.dll, version: 1.9.2.180, time
stamp: 0x4d5ee5ec
Exception code: 0xc0000005
Fault offset: 0x0011a00e
Faulting process
2012 Feb 26
15
ActiveRecord::ConnectionNotEstablished
Hi,
I am trying the tutorial in:
http://guides.rubyonrails.org/getting_started.html
when I try to navigate to http://localhost:3000 after the 4.3 change
I get the error : ActiveRecord::ConnectionNotEstablished
and I don''t know how to solve it
the database.yml file is:
adapter => mysql
host => 127.0.0.1
database => blog
username => root
password => *****
my
2011 Mar 20
10
Unable to install mysql2 gem on windows 7
I am getting the following error message while installing, let me know
if any one needs some more details. I followed instruction from
"https://github.com/oneclick/rubyinstaller/wiki/Development-Kit".
I am using ruby 1.9.2p136 (2010-12-25) [i386-mingw32].
E:\work_desk\trunk>gem install mysql2 -v 0.2.4
Temporarily enhancing PATH to include DevKit...
Building native extensions. This
2008 Nov 24
5
Problems installing mysql gem in Rails 2.2.2
Hi'' Rails riders. I having upgraded everything and upgraded to
Rails 2.2.2 I now wanted to install the MySQL gem as I am getting the
following error when trying to load up the app.
no such file to load -- mysql
Normally running gem install mysql works with no problems but, now I get
the following:
>gem install mysql
gem install mysql
Successfully installed mysql-2.7.3-x86-mswin32
1
2008 Nov 25
21
"mysql" 2.7.3 gem install for Windows appears incomplete
When I install the 2.7.3 "mysql" gem on Windows XP (trying to prepare
for the requirement to use the mysql gem in Rails 2.2.2) by using:
gem install mysql
I get a mysql-2.7.3-x86-mswin32 directory under gems, but underneath
that, only a docs directory, an ext directory, and README, Rakefile and
.require_paths.
I then cannot do any connecting to my MySQL databases.
Shouldn''t
2010 Sep 23
3
Can't install mysql2 gem on Windows 7
I am new to Ruby and have tried and failed several times installing
mysql2 gem on my windows 7 OS. I checked several forums for solutions
but still couldn''t get that installed. can someone help my out please?
below is the error:
c:\>gem install mysql2
Building native extensions. This could take a while.
ERROR: Error installing mysql2:
ERROR: Failed to build gem native
2009 Apr 21
12
still cannot install rails on windows
if i follow the instructions on:
http://agilo.us/2009/03/15/rails-on-windows/
the command
gem install sqlite3-ruby
will give
---------------------------------
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
c:/ruby/bin/ruby.exe extconf.rb
checking for fdatasync() in rt.lib... no
checking for
2011 Dec 27
2
mysql compatibility error--already reported by another correspondent
C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-
mingw32/lib/mysql2/mysql2.rb:2:in `require'': Incorrect MySQL client librar
y version! This gem was compiled for 6.0.0 but the client library is 5.5.19.
(RuntimeError)
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Jul 03
6
mysql gem warning on ubuntu
i just deployed my app on ubuntu with passenger.
i installed the mysql gem as follows:
$ sudo gem install mysql
Select which gem to install for your platform (i486-linux)
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation
> 3
Building native extensions. This could take a while...
Successfully installed
2011 Jun 08
2
MySql2 adapter hangs in Rails3 on Windows XP
Previously we''ve used Rails2.xx with no problems and we''re trying to
upgrade to ruby 1.9.2p180 and Rails 3.0.7 with pik to keep ruby
versions separate.
After some initial difficulties with MySql2 gem installation,
following <a href=http://rorguide.blogspot.com/2011/03/installing-
mysql2-gem-on-ruby-192-and.html>these tips</a> got mysql2 v0.2.7
installed.
My problem
2006 Aug 22
4
Native Extensions on Windows 0.10 series
Hi all,
I''ve just noticed that 0.10 is out and wanted to give it a try on windows.
I''m not at all an VS C++ Developer so I might do something very stupid here.
My env: Windows Server 2003
VS .NET 2003
On the command line with nmake from VC7 in the path this is what I get:
Attempting remote update of ferret
Building native extensions. This could take a while...
Microsoft
2008 May 07
1
Actionwebservice
I am just learning some about web service. But many guys still use
Java (Jws). But I wanna try ROR. There are less information about it.
I can''t get install plugin in the ROR 2.0.x. So I followed the
standard textbook("Agile_Web_Development_With_Rails-2nd" and "Ruby on
Rails for PHP and Java Developers") I almost finished it. However, I
can''t find my api
2006 Oct 16
3
Strange ActiveRecord error popping up
Hello guys, I''m developing a new app in Rails, and every now and then
I get an ActiveRecord error, I cannot reproduce exactly what triggers
it, hope you can help me, or give me tips on debugging this kind of
stuff. This time I got the error reporting page, but normally I would
just see the 500.html page, with no info about what went wrong.
This is the error (it''s the complete
2009 Sep 26
2
Config XLSUITE in Windows
I try to config XLSUITE in my system. I''m facing some problem i resolved
it one by one.
now im facing this error
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.0 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
Exiting
2006 May 10
7
mongrel vs. scgi
I''ve liked the scgi runner ever since it came out. I like the way it''scontrolled, the way it''s clusterable, and the fact that it runs onwin32 platforms so easily.
Now it''s May 2006, and the scgi runner hasn''t changed since October,and now we have mongrel. I keep seeing hints of clustering in mongrel,as well. I just downloaded the win32 installer for
2006 Oct 05
2
0.36 release problem?
I tried sending this a day or two ago but I didn''t see it appear.
I''ve just tried the wxRuby 0.36 release but appear to get the following error (I got it from bigdemo.rb too).
C:\opt\ruby\lib\ruby\gems\1.8\gems\wxruby2-preview-0.0.36-i386-mswin32\samples\minimal>minimal
Our Initialize was called
Their Initialize returned 1
2006 Jul 09
2
Error using sqlite3
Hello, I''m trying to use sqlite3 and I''ve followed the steps here :
http://wiki.rubyonrails.org/rails/pages/HowtoUseSQLite
However I get the error above (uninitialized constant API) when trying
to run a migration.
I''m under Windows XP, using cygwin, the sqlite3.dll file is on the lib
directory of my rails app (filemon, an utility that reports file access
attempts
2008 Nov 30
11
rake aborted! undefined method `each' for #<Mysql:
I''m struggling with several problems getting my first time ruby on rails
environment running. I''m now stuck on this problem too.
rake db:migrate generates the following error. This one is on a vista
machine. Anyone seen this before. Any thoughts or advice?
Reading about Ruby on Rails has really got me excited to give it a try.
But in practice getting to the point that I can
2007 Jan 15
5
ActionController::UnknownAction (No action responded to xxx)
I have a new method defined in a existing controller.
All the methods I called in these are workable.
But somehow the new method is not recognizable.
------------------new method I
added--------------------------------------------
def push
# if fair
begin
@product = Product.find(params[:id])
rescue
logger.error("Attempt to access invalid product #{params[:id]}")