How to turn off auto commit in rake 0.8.7

B

Brian Candler

zoras wrote in post #955674:
How to turn auto commit off while doing rake version:write and rake
version:bump ?

rake doesn't know anything about databases AFAIK. So I guess you're
talking about a Rakefile which comes with some other package - in which
case, please say what package you're talking about - or your own
Rakefile, in which case you can post it.

Also, I would expect that a rake task will start a fresh ruby process,
which will start a fresh database connection, and drop that connection
when it terminates. So if you turn off auto-commit then you may simply
find that all your changes are rolled back.
 
J

Jarmo Pertman

For me it seems that the author means `git commit` when using `rake
version:write` and `rake version:bump` with Rakefile generated by
Jeweler. In other words, this is a question about Jeweler. I think
that you cannot disable it out-of-the-box but have to dig into
Jeweler's tasks themselves.

Jarmo Pertman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top