Displaying 20 results from an estimated 10000 matches similar to: "Rake seems to have stopped working."
2010 Nov 15
0
rake path seems wrong
I''m trying to test rake to make sure it works but I''m getting the
following error
/usr/local/bin/rake:19:in `load'': no such file to load --
/Users/mauro/.gem/ruby/1.8/gems/rake-0.8.7/bin/rake (LoadError)
from /usr/local/bin/rake:19
rake is installed in /usr/local/bin/rake
not sure why the path is screwed up. How do I fix this???
--
Posted via
2011 Jun 06
9
rake 0.9.0 activated error + debugger not working?
Hi everyone,
I am using rvm, and when I try to do rake spec, I get:
"You have already activated rake 0.9.0, but your Gemfile requires rake 0.8.7.
Consider using bundle exec."
... Is there a way to get around this so I don''t have to do bundle exec rake spec each and every time?
Also, I tried throwing ''debugger'' into one of my specs and I get:
2010 Feb 25
0
Rails problems running rake and other tasks - undefined method `action_controller'
I suddenly have a major problem in all my Rails 3 apps:
$ rake db:migrate --trace
rake aborted!
Don''t know how to build task ''db:migrate''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:1728:in `[]''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:2050:in `invoke_task''
2013 Jun 29
0
rake db:create giving undefined method `' for nil:NilClass
My ruby version is 1.8.7
I have installed mysql-essential-5.0.90-win32
and using Fedena 2.3.5
List of all gems installed:*
columnize (0.3.6)
declarative_authorization (0.5.1)
fattr (2.2.1)
ffi (1.9.0)
gem_plugin (0.2.3)
highline (1.6.19)
i18n (0.4.2)
metaclass (0.0.1)
mime-types (1.23)
mocha (0.14.0)
mongrel (1.1.5)
mysql (2.8.1)
net-ping (1.6.0)
prawn (0.6.3)
prawn-core (0.6.3)
prawn-format
2009 Nov 07
0
wrong argument type Mysql (expected Struct) running rake with Ruby 1.9 / Rails 2.3.3
I''m use Ruby 1.9 via rvm and Rails 2.3.3. I''m on OS X 10.5 and I have
the mysql 2.8.1 gem installed. When I run rake on my rails app, I get
the error "wrong argument type Mysql (expected Struct)". I can run
the app fine with script/server and script/console fine. Is anyone
else having this problem or know what might cause this problem?
Here''s the stack
2010 Sep 23
0
rake aborted! undefined method `autoload!'
Hi!
I made a app in rails 3.0.0, but when i try to upload to my hosting i
take to change the version of rails to rails 3.0.0.beta4
Im make the bundle install and every step cool, but when i try to do the
rake db:migrate i have the next error...
-bash-3.2$ rake db:migrate --trace
(in /home/aerotour/public_html/aeto)
rake aborted!
undefined method `autoload!'' for
2010 Nov 29
0
rake aborted! getaddrinfo: Name or service not known
I''m deploying new rails applications. Everything works well
except when it comes to the db migration:
* executing "cd /var/rails/benefits_test/releases/20101129190121 &&
/opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production
db:util:migrate"
servers: ["ps-test-app1"]
[ps-test-app1] executing command
** [out :: ps-test-app1] (in
2010 May 28
0
Rake Aborted! db:migrate
Hello, I am trying do a migrate of my database but I have problems, I
write this in the console:
[console]
rake db:migrate
[/console]
And say me:
[console]
(in /home/distriker/Documentos/public_html/crf)
!!! 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
(See full trace by
2010 Jun 30
0
rake TestTask problem with t.options
I am trying to understand some rake stuff better ..
I have a test that works fine if I do:
"ruby test/integration/tcp_test.rb -n test_job_create"
but if I try to do it in a rake file like below, it errors out. It
seems the t.options is the problem because I can get it to work
without that:
/usr/bin/ruby -I"lib" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/
2010 Apr 20
1
dashboard: rake install fails (Solaris10)
Hi all,
I am trying to install dashboard 1.0.0rc1. Independantly if have
manually installed authlogic - gem or not it is throwing the following
trace. The problem is the same when I am resetting (rake db:reset) or
dropping the database.
any ideas?
best regards
Lutz
bash-3.00# rake install
(in /opt/puppet-dashboard)
dashboard_development already exists
can''t activate authlogic (=
2010 Oct 22
1
Could not find rake-0.8.7 in any of the sources
After upgrading my server to:
Ubuntu server 10.10
Ruby 1.9.2
Rails 3.0.1
Passenger 3.0.0
rake is unable to find itself:
> rake -T
Could not find rake-0.8.7 in any of the sources
Try running `bundle install`.
but `gem list` and ''bundle list'' shows that rake-0.8.7 is installed!
When loading the webapp in the browser:
Could not find rake-0.8.7 in any of the sources
2010 Oct 25
2
Fail to load spec/rake/spectask
Hi!
I''m a newbie at Ruby. I''m trying to run rspec tests using rake. In my
rake file I include spec/rake/spectask.
It fails to load giving me the following message:
rake aborted!
no such file to load -- spec/rake/spectask
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
`raw_load_rakefile''
I''m using version 1.8.7 of Ruby.
I have installed rake
2012 Feb 11
1
rake command shows the error
rails -v=2.3.8
gem -v= 1.4.2
ruby -v=1.8.7
When i issue the "rake" command ,it gives the following error .
(in /home/amrit/amrit/OSV/OpenStreetView)
/usr/bin/ruby1.8 -I"lib:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
"test/functional/main_controller_test.rb"
"test/functional/upload_controller_test.rb"
2010 May 28
3
Beginner Facing Problem with rake db:migrate
I am beginner for this Rails from the past 2 days I am working hard
to fix the following error
C:\Murali Rubby\demo\library>rake db:migrate --trace
(in C:/Murali Rubby/demo/library)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== CreateBooks: migrating
====================================================
--
2008 Jan 31
1
never have been able to run rake doc:app
Perhaps it''s just a Fedora thing but it would be nice to generate my
application''s API
$ rake doc:app --trace
(in /home/storage/users/craig/svn/th-db/branches/phase5)
** Invoke doc:app (first_time)
** Invoke doc/app/index.html (first_time)
rake aborted!
Don''t know how to build task ''doc/README_FOR_APP''
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
2011 Jan 19
6
rake aborted! can't convert Hash into String
Hello,
I encouter a problem when i try to do "rake db:migrate":
rake aborted!
can''t convert Hash into String
Here is the trace result:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
can''t convert Hash into String
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1408:in
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 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 Dec 04
0
Empty test suite is run after every rake task
When I run rake db:migrate or rake -T I get these lines at the end:
Finished in 0.000276 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
My Gemfile is:
source ''http://rubygems.org''
gem ''rack''
gem ''rails'', ''3.0.9''
gem "acl9", ''0.12.0''
gem "fastercsv"#, :version =>