Displaying 20 results from an estimated 70000 matches similar to: "where do certain rake commands reside"
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
2007 Aug 07
4
Execute additional commands after creating database?
I''m writing some code that accesses some lagacy database on
PostgreSQL. Since the old database had some really ughly and weird
naming conventions (like CamelCase). To work around this I created a
second schema (named rails) in the same database and gave the tables
and fields some rails-friendly names. The database user that Rails
uses has its search_path set to the rails schema. That way
2006 Jan 26
5
rake update_javascripts on edge has no effect
I moved to the edge yesterday and ran rake update_javascripts to get the
latest prototype stuff into my public directory. To my surprise, the
old files were still there afterward.
I just took a peek at javascripts.rake in
vendor/rails/railties/lib/tasks. The update_javascripts task is copying
.js files from Dir[RAILTIES_PATH + ''/html/javascripts/*.js''] My
railties
2008 Dec 25
2
rake doc:rails -- fails.
rake doc:rails fails with:
Don''t know how to build task ''vendor/rails/railties/CHANGELOG''
How to fix?
Rails 2.2.2, Rake 0.8.3.
Thanks,
Ken
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple
things that I have found on google, but yet have i found a solution. If
someone could help me and point me in the right direction I would be
much appreciated.
Thanks.
rake aborted!
uninitialized constant Mysql::Error
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
**
2012 Feb 18
6
rake db:reset doesn't work, fails with unknown attribute: user_status
If I manually drop the database, and run create, then migrate it works fine.
But doing a:
rake db:reset
it fails with:
unknown attribute: user_status
Does this mean my migrations are not dropping things correctly?
--
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
2012 Nov 19
6
puppet-dashboard - rake API not working
Hello all,
I am quite new to the puppet arena, but I am really impressed with puppet
as a tool and the possibilities it gives you with regards to managing many
systems.
I am running dashboard 1.2.14 and am trying to query via the rake API:
http://docs.puppetlabs.com/dashboard/manual/1.2/rake_api.html
when I do, I get the following error:
<snip>
# sudo -u puppet-dashboard rake -f
2009 Jul 07
3
rake db:create:all error
Hi,
I am getting this error when i execute rake db:create:all
/opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:569:
[BUG] unknown type 0x22 (0xc given)
any clues ?
-Manish
--
Posted via http://www.ruby-forum.com/.
2011 Jul 05
7
error of "rake test" command
Hi,
I have an error when i use rake test, plz help
akyen@ubuntu:~/Desktop/p$ rake test
WARNING: Global access to Rake DSL methods is deprecated. Please
include
... Rake::DSL into classes and modules which use the Rake DSL
methods.
WARNING: DSL method Pictographs::Application#task called at /usr/local/
lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:
215:in
2006 Oct 17
3
rake -T is missing rake db:fixtures:dump?
Subject says it all: rake doesn''t know about db:fixtures:dump. When I
try, I get this:
Don''t know how to build task ''db:fixtures:dump''
I thought this was a standard feature that ships with rake- any idea
why it''s missing, and how I can reinstall it?
Here''s the environment:
Ruby version 1.8.4 (powerpc-darwin8.6.0)
RubyGems
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 Apr 05
2
Question about Rake
Hello,
How does Rake determine the list of tasks that Rake can execute?, in a
Rails development environment. My problem has to do with the rake tasks
that are provided by the Engines plugin (at least thats my current
understanding that
the Engines plugin provides additional Rake tasks that help manage
vendor plugins).
I''ve installed the latest version of the Engines plugin and
2007 Jan 11
3
rake db:migrate doesn't work anymore
Hi!
Up to now, i had no problems with my migrations and rake (rake
db:migrate). Today, i got a project from a svn repository, but i can''t
do "rake db:migrate":
"rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
`load_rakefile''
(See full trace by running task
2010 Sep 08
14
A version problem
After updating, script/server fails with this stack trace:
script/server -u
/.../1.8/rubygems.rb:223:in `activate'': undefined method `map'' for
nil:NilClass (NoMethodError)
from /.../1.8/rubygems/custom_require.rb:35:in `require''
from <project>/vendor/rails/railties/lib/commands/server.rb:1
from /.../1.8/rubygems/custom_require.rb:31:in
2011 Aug 04
4
Problem in migrating a database to Heroku
When trying to migrate a database to `Heroku`, I get the following
(Provided that I''m using `gem ''sqlite3'', ''1.3.3''`:
$ heroku rake db:migrate
(in /app)
rake aborted!
uninitialized constant Rake::DSL
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2482:in `const_missing''
2007 Mar 28
3
Make rake tasks of a plugin accessible to the app?
Hi all
I want to add some rake tasks to my app using a plugin. So I added some
tasks to vendor/plugins/my-plugin/Rakefile, but it seems that the tasks
in a plugin''s Rakefile are not available to access from the application
root, but you have to change directory to vendor/plugins/my-plugin. Is
that correct?
I''d really like to make my rake tasks from the plugin accessible by the
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
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 --
2008 Oct 21
2
Include rake migration in a plugin
Hi there,
as sad as it seems, I can''t find a hint on how to include a simple
statement like
rake db:sessions:create
rake db:migrate
in the rakefile of a plugin that I want to write myself.
Any help of of course appreciated - thanks in advance.
Best,
Alain M. Lafon
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this
2011 May 11
2
rack problems
I''m having some issues running rake commands for puppet dashboard.
Here is one of the symptoms (see below). I''m a little new to setting
up rails/rack applications, so I may be making a common mistake. It
looks like gems are already packaged with dashboard, specifically
rack-1.01. Should that gem just work out of the box?
Command:
rake RAILS_ENV=production reports:prune upto=1