rake
Ruby rake/testtask producing incorrect command
I have tests for my project broken up into multiple files - test/test_1.rb and test/test_2.rb. Running \'rake test\' gives:[详细]
2023-04-03 06:09 分类:问答Find record from a specific ID onwards
In Rails, I was running a rake task:开发者_如何转开发 @shops = Shops.find(:all) @shops.each do |shop|[详细]
2023-04-02 21:53 分类:问答Why am I seeing output during 'rake test' other than '.' 'F' or 'E' (ruby 1.9.2p290, Rails 3.0.9)?
When I used to run \'rake test\' I would see either \'.\' or \'F\' or \'E\' for each test. When all was well, the output was a line of \'.\'[详细]
2023-04-02 19:28 分类:问答Rails DB rake tasks run but never exit
When I run any of the rake db tasks that Rails provides, they run successfully but never exit. I have to CTRL+C to quit the task. I\'ve tested running it for over 8 hours and the problem persists.[详细]
2023-04-02 15:58 分类:问答def block in rake task
I got undefined local variable or method \'address_geo\' for main:Object with the following rake task. What\'s the problem with it?[详细]
2023-04-02 12:27 分类:问答How can I automate loading data in a rake file
I have a rake task that populates a database with values. Here is a sample: Icon.create!(:category_id => category_id,[详细]
2023-04-01 20:57 分类:问答rake gems:install, how do I prevent a particular gem from installing?
one of the gems that one of my required gems installs is i18n-0.5.0.... which causes problems with my other gems...[详细]
2023-04-01 20:45 分类:问答Unable to create the database using rake db:create
sahil@sahil:~/sites/QandA$ rake db:create /home/sahil/.rvm/gems/ruby-1.9.2-p290@global/gems/rake-0.9.2/lib/rake/version.rb:4: warning: already initialized constant MAJOR[详细]
2023-04-01 17:45 分类:问答load error for rake db:migrate
I cannot run rake db:migrate. This is the error I get: bundle install bundle show rake gives /Users/sweska/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7[详细]
2023-04-01 14:42 分类:问答What can rakefiles be used for?
I understand the utility of the rake command, but what kinds of cus开发者_如何学编程tom actions are typically defined in the Rakefile? I\'m new and trying to figure out when it\'s appropriate to use t[详细]
2023-04-01 09:42 分类:问答