similar to: First time rails install, help with gems/rake

Displaying 20 results from an estimated 20000 matches similar to: "First time rails install, help with gems/rake"

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
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,
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
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
2009 Jan 30
3
Pass a variable from rake to steps file in cucumber
Can anybody tell me how to pass a variable from the rake command to my steps file using cucumber? I have the following in my Rakefile: ## Rakefile Cucumber::Rake::Task.new do |t| profile = ENV[''PROFILE''] || ''default'' browser_type = ENV[''BROWSER''] || ''*chrome'' t.cucumber_opts = "--profile #{profile}" end I
2006 Jun 05
2
Simple Rake question
Newbie question but here goes: Isn''t rake supposed to automatically search the lib/tasks subdirectory for Rake files/tasks? I have a task called "do_this.rake" in file foo.rake in lib/tasks/rails - how do I invoke it from the command line in the root directory of my Rails application? Presuming I have a file called "Rakefile" in the root directory of my Rails
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''
2006 Mar 08
2
Rake error after installing Capistrano
After I uninstalled SwitchTower and installed Capistrano, I tried run rake --tasks and got the error message below: rake aborted! undefined method `namespace'' for #<Object:0x28a9258> ./rakefile:10 I''ve run "cap -A ." on my Rails application before running rake --tasks. The same thing happens when I overwrite my copy of deploy.rb. Hmm, what could be going wrong
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
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
2006 Feb 02
4
rails-1.0.0 gem rdoc problem
Just got a brand new install of ruby-1.8.4 and new gems downloaded, specifically rails-1.0.0. Seems rails does not generated rdoc for gem_server. Looking into the problem, it seems that there is an error when doing ''rake rdoc'' for rails-1.0.0. % rake rdoc (in /opt/local/ruby-1.8.4/lib/ruby/gems/1.8/gems/rails-1.0.0) rm -r doc unrecognized option `--line-numbers --inline-source
2006 Mar 01
2
Rake error on edge rails
I updated my "edge rails" this morning, ran ''rake'', and got: rake aborted! undefined method `namespace'' for main:Object ./rakefile:10 To verify, I created a new project, ran ''rake'' and didn''t get the error. Then I ran ''rake freeze_edge'', re-ran ''rake'' and got the same error. Is anyone else
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
2011 Oct 24
2
Problem(s) with installing Puppet Dashboard
Hello! I''m trying to install puppet dashboard according to the instructions in the documentation : http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html I am installing it from the .deb package, however after installation I cannot find the "settings.yml" file. Also, when trying to "prepare schema" by running rake RAILS_ENV=production db:migrate it
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
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
2006 Aug 10
7
Gem and tarball rake tasks
Hi I created an add-on script (to live in rake/) and a little patch for our main rakefile to automate building release products. The two main targets are ''gem'' (create a binary gem for your platform) and ''package'' (create a platform-neutral source tarball for SWIGging and compiling). A few small things came up while doing this: - Package name and version
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
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''
2006 Apr 12
2
Rake not finding lib/tasks folder?
Hi all, I''m attempting to set up a new Rails app using Typo. I''ve downloaded the Typo 2.6.0 edition which includes Rails 1.0 and it works fine. I''ve set up version control with SVN and checked out a new working copy. I''ve run Capistrano -A on the application and it''s set up my deploy.rb and lib/tasks/capistrano.rake. Rake doesn''t seem