Displaying 20 results from an estimated 20000 matches similar to: "rake db:migrate doesn't work anymore"
2009 Jun 13
2
Rake migration error
Hi,
I am constantly getting an error when I use the rake command to do a
migration or even use drop, this happened after I installed some
plugins such as paperclip and seed-fu.
The error is:
rake aborted!
uninitialized constant PKG_NAME
/var/www/html/quote/Rakefile:10
The Rakefile looks like this:
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example
2006 Jan 04
1
Newbie question abour Rake
I''m learning about rake, and have what is probably a silly question.
When I run rake from my rails app''s top directory, what rakefile is it
really running?
I have rails 1.0, and in my top-level directory there is a small file
called "Rakefile", which basically just includes a few other files:
require ''rake''
require
2014 Jan 16
2
[PATCH] hivex: ruby: Minor fix for building with Ruby 1.8
---
ruby/Rakefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in
index 204e37c..5ad1502 100644
--- a/ruby/Rakefile.in
+++ b/ruby/Rakefile.in
@@ -22,7 +22,7 @@ require 'rake/testtask'
# Used to be rake/rdoctask. Now it's rdoc/task.
begin
require 'rdoc/task'
-rescue
+rescue LoadError
require
2007 May 15
5
rake db:migrate sucks
I have installed ruby1.8.5-22 under windows,
and then rails 1.2.3
and also i update rubygems to 0.9.3 with gems update --system
however,when i enter the project directory and input the command rake
db:migrate,it sucks with the following errors:
rake aborted!
uninitialized constant ActionController
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in
`const_missing''
2007 Jul 16
6
RubyToken::AlreadyDefinedToken and Edge Rails Docs
I''m having a wee bit of trouble building documentation for Edge Rails
(rev 7187). When I attempt to run the doc:rails taask (or any doc:*
task), I get the following error:
-- BEGIN --
rake aborted!
uninitialized constant RubyToken::AlreadyDefinedToken
/Users/jherdman/Projects/crosslisting/vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/dependencies.rb:263:in
2006 Aug 05
14
Rake aborted! on No Rakefile Found error
Hello,
On a command:
rake db:migrate
I get the "rake aborted!" error. The message is:
No Rakefile found (looking for: rakefile, Rakefile, rakebile.rb,
Rakefile.rb)
c:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
''load_rakefile''
Checking my setup, I see that Rakefile.rb is in the expected path.
Why can''t rake see Rakefile.rb,
2012 Jan 05
2
Error while rake actions
rake aborted!
/home/Mahesh/uma/myapp/Rakefile:6: unterminated string meets end of file
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load''
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile''
/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile''
/usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling''
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 Sep 09
1
i need help.please anyone can help me out witth this.
I installed ruby on my pc...then after that i got lib not found as one
error when i was installing rails... further all steps worked like
installing sqlite3 and creating test application...but wen i gave a cmd
called rake db:migrate, i got errors like these- rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
D:/Ruby192/lib/ruby/1.9.1/rake.rb:2367:in
2009 Feb 21
4
problem with running rake db:migrate on a Rails app
Hi everybody,
I am trying to get the Typo blog engine up and running in development
mode but I hit the wall as early as running rake db:migrate:
(in /home/tweisser/workspace/typo/typo)
rake aborted!
no such file to load -- spec/rake/spectask
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `gem_original_require''
2011 Nov 28
1
Queue-Tip/Adhearsion installation tip
Hi,
I'm giving Queue-Tip a try, following installation instructions in
http://queue-tip.rubyforge.org/install.html.
My setup is :
ruby 1.8.7
rubygems 1.3.7
rails 3.1.3
Adhearsion 1.2.3
I'm struck in step 7 in the above installation procedure :
# rake --trace db:create
(in /usr/local/src/queue-tip)
rake aborted!
no such file to load -- initializer
2008 Jan 01
5
Compiling wxruby-1.9.2
Hi,
I''m trying to compile wxruby-1.9.2. This is my first time using rake.
All I get is the following:
(in /bld/lib/wxruby-1.9.2)
rake aborted!
can''t convert nil into String
/bld/lib/wxruby-1.9.2/rakefile:48
(See full trace by running task with --trace)
And with --trace:
(in /bld/lib/wxruby-1.9.2)
rake aborted!
can''t convert nil into
2012 Jul 20
1
problem with dashboard
Hi:
When I start the dashboard server,but all ways failed . Someone
can help me ?
#sudo -u puppet-dashboard ./script/server -e production
Missing these required gems:
rack >= 0
You''re running:
ruby 1.8.7.174 at /usr/bin/ruby1.8
rubygems 1.8.24 at /usr/lib/ruby/gems/1.8, /root/.gem/ruby/1.8
Run `rake gems:install` to
2007 Jun 15
1
Problems with RCov and Rails
Hey list,
I''m trying to use the rcov integration that rspec provides in my Rails
application. As per the documentation on the website, I''ve created
the following rake task:
lib/tasks/specs_with_rcov.rake:
require ''spec/rake/spectask''
desc "Run all specs with rcov"
Spec::Rake::SpecTask.new(''specs_with_rcov'') do |t|
t.rcov = true
2007 Jan 21
6
rake db:migrate "undefined method `default'" error
Hi all,
Just starting with Rails and working through the early chapters of the
Pragmatic Programmers Agile Development with Rails book (2nd addition).
When doing a "rake db:migrate" to add a column to a table I get this:
undefined method `default'' for
#<ActiveRecord::ConnectionAdapters::MysqlAdapter:0xb7517ec8>
Any ideas?
thanks,
David
PS: Here''s the full
2006 Mar 30
10
Problems upgrading to Rails 1.1
Hi All,
I just tried to upgrade to Rails 1.1 on my Linux server and had the following
issue when running the second part of the upgrade.
[root@localhost ~]# rake rails:update
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1635:in `load_rakefile''
(See full trace by running task with
2012 Oct 11
3
Puppet Dashboard won't install MySQL schema
I have been working on this issue for almost 5 days
and can not get
past this error.
Puppet Dashboard is installed via RPM from puppetlabs.
I have tried versions
1.2.12, 1.2.9 and am currently on 1.2.1.
Regardless of the version, I get the same exact error
every time I run rake RAILS_ENV=production db:migrate.
(in /usr/share/puppet-dashboard)
rake aborted!
no such file to load --
2011 Nov 21
2
[PATCH] out of tree build: ruby
---
ruby/Rakefile.in | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in
index da9f3f1..99a195d 100644
--- a/ruby/Rakefile.in
+++ b/ruby/Rakefile.in
@@ -27,7 +27,7 @@ PKG_VERSION='@PACKAGE_VERSION@'
EXT_CONF='@srcdir@/ext/hivex/extconf.rb'
MAKEFILE='@builddir@/ext/hivex/Makefile'
2012 Mar 14
3
solution for rake db:create
I ran into the following error:
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use
''require ''rdoc/tas k'' (in RDoc 2.4.2+)'' instead.
at /usr/lib/ruby/vendor_ruby/rake/rdoctask.rb
rake aborted!
uninitialized constant Gem
----
Following that advice (which I also found by searching the web for the
error
2012 Jun 26
2
Error with rake command
I am using Rails 2.3.8 application and when I enter rake command it
gives following error :
ms@ms-HP:~/OpenStreetView$ rake
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require
''rdoc/task'' (in RDoc 2.4.2+)'' instead.
at /home/ms/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
rake