similar to: rake path seems wrong

Displaying 20 results from an estimated 40000 matches similar to: "rake path seems wrong"

2011 Aug 10
1
Rake seems to have stopped working.
I am using rails 3.0.7 and my database is postgresql and my OS is Suse Linux 10.1 Somehow a problem created into my system and I don''t know how. After using rake successfully many times, I then started getting the error message "You have already activated rake 0.9.0 but your gem file requires rake 0.8.7 …". Based on other posts here I used ''gem uninstall rake –
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
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 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 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
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
Hi, I was getting an odd error installing rails-3.0.0.beta3 on a fresh Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu 9.10 install, so I''m sure it isn''t something specific to the Ubuntu version (nor beta for that matter). This is the error: mike@ubuntu:~/rubygems-1.3.6$ sudo gem1.9.1 install rails --pre Successfully installed activesupport-3.0.0.beta3
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
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
2010 Oct 15
5
Beginner cant get rake to work
Hello I am new to ruby on rails and trying to get it going on a windows machine However when I try to run the rake task it always fail with the following error message C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:340:in `bin_path'': can''t find executable rake for rake-0.8.7 (Gem::Exception) from C:/Ruby192/bin/rake:19:in `<main>'' and I am not quite sure what I should
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 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 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 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 06
3
Script acting differently inside of rake task
I''ve created a rake task that does various things, one of which is calling a script. When I call that script from my Rails.root folder, it works, but it doesn''t work inside my rake task. [This is rails 3] That is, the following line works from bash: lib/daemons/mailer_ctl start However, inside my rake task, this line does not work: puts `lib/daemons/mailer_ctl start` The
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
2011 Oct 06
0
Rake Routes Blank on upgrade to Rails 3
I have just upgraded an app to rails 3 following the railscast screencast. I have installed a blank application inside the app to be upgraded with: rails new . I have replaced all the the main files. When I run rake routes I get no output. routes.rb: App::Application.routes.draw do resources :products end (ie, just the default file with an example uncommented) I have tried a number of
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 Feb 11
2
Error when starting rails server [on rails 3]
Hi all, I receive an error when starting the server, namely: ~/Documents/blog$ rails server /usr/local/lib/site_ruby/1.8/rubygems.rb:827:in `report_activate_error'': RubyGem version error: rack-mount(0.5.0 not ~> 0.4.0) (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems.rb:261:in `activate'' from /usr/local/lib/site_ruby/1.8/rubygems.rb:296:in `activate''
2008 Jan 08
2
Problems with rspec 1.1 required inside rake tasks
This is interesting. The default rspec rake tasks generated by Hoe give you an rspec.rake file that looks like: > begin > require ''spec'' > rescue LoadError > require ''rubygems'' > require ''spec'' > end > So far so good. When you invoke rake to do something, say check_manifest > rake check_manifest > You