Related questions
File.open, write and save?
I am trying to get a .rb file to make another .rb file within a specific directory with specified content, when that file is run. I dont know whether the best way to do this would be with a Ruby …
Getting Ruby environment variables from Rake
I have a Rakefile which has tasks for deploying or building an application. This Rakefile is used in both production and development.
I would like the build task to know what the environment is. Can this be done without passing …
Where are rake tasks defined?
On a freshly created Rails project (generated by rails someName), one can run some 'default' rake tasks like:
rake test
rake db:migrate
etc
Question is, where does these tasks get described? The default Rakefile doesn't have all these tasks.
…