Top "Rake" questions

Ruby build utility similar to make with build commands defined in pure Ruby.

Rails DB Migration - How To Drop a Table?

I added a table that I thought I was going to need, but now no longer plan on using it. …

ruby-on-rails database ruby-on-rails-3 migration rake
Purge or recreate a Ruby on Rails database

I have a dev Ruby on Rails database full of data. I want to delete everything and rebuild the database. …

ruby-on-rails ruby-on-rails-3 rake
Difference between rake db:migrate db:reset and db:schema:load

The difference between rake db:migrate and rake db:reset is pretty clear in my head. The thing which I …

ruby-on-rails ruby database rake
How to pass command line arguments to a rake task

I have a rake task that needs to insert a value into multiple databases. I'd like to pass this value …

ruby command-line rake command-line-arguments
how to do "press enter to exit" in batch

I am using rake to build my project and I have a build.bat file similar to this: @echo off …

batch-file rake
How to run Rake tasks from within Rake tasks?

I have a Rakefile that compiles the project in two ways, according to the global variable $build_type, which can …

ruby rake
Rails how to run rake task

How do I run this rake file in terminal/console? my statistik.rake in lib/tasks desc "Importer statistikker" namespace :…

ruby-on-rails ruby rake
How to rollback just one step using rake db:migrate

After adding migration files in the db/migrate folder and running rake db:migrate, I want get back to the …

ruby-on-rails rake dbmigrate
What does bundle exec rake mean?

What does bundle exec rake db:migrate mean? Or just bundle exec rake <command> in general? I understand …

ruby-on-rails rake bundler
Bundler::GemNotFound: Could not find rake-10.3.2 in any of the sources

I have been working with Rails and it sends me back this error. Please provide questions. Thanks for all the …

ruby-on-rails rake