Rapt error during peepcodes test first development tutorial
OK, let me start off by saying, I love the tutorials from peepcode, you guys are doing a great job so keep doing it.
Alas, I got stuck while watching the Test-first-development tutorial. They were using Rapt as an alternative to script/plugin and when I tried to run it I kept getting an error.
Error: RaPT currently does not work outside of a Rails application directory. Please change to the top level of a Rails application and try again.
This error is misleading but at least it was obviously misleading, after all I know I'm in my Rails application directory.
After some googling, I found a post describing a work around for the problem, but it basically gave instructions on installing the plugin with script/plugin. But the guys at peepcode had a reason for using rapt over script/plugin (its faster). So I Google some more. I finally find a bug on the Rapt Trac posted in 2006 that explains that the user must first add repositories by executing the following.
rapt discover
If anyone knows how to have it default to yes without prompting you for every repository, please post a comment.
Alternatively, you can add only the repositories you want to use by executing the following.
rapt source http://path-to-repository
Trackbacks
Use the following link to trackback from your own site:
http://blog.randomutterings.com/articles/trackback/22
-
Lexapro. Lexapro 10mg. Lexapro dosage.
-
Carmen electra nude. Carmen electra naked. Carmen electra. Carmen electra boobs.
-
<.......>
-
Abilify. Abilify and diabetes. Lexapro and abilify.
Comments - Leave a response
-
Use this command: rapt discover --no-prompt
-
I *still* can't rapt to work, but passing "-n" to discover will avoid the prompting. i.e. rapt discover -n
-
Thanks for the comments guys, I *still* can't rapt to work, but passing "-n" to discover will avoid the prompting. i.e. rapt discover -n Are you still having the same problem that I described?
-
Just ran into precisely the same thing (running through the peepcode) and nearly passed out from the "obviously misleading" nature of the error. You saved me from having a coronary. My wife thanks you.
-
Glad to hear it Rian. Its so rewarding to hear that this helped someone else. I've learned most of what I know from others posting what they've learned on blogs and forums and I'm glad to be able to give something back.
-
You helped me too... Thanks
-
Thanks for the bug report! Rapt was a great idea at the time but hasn't been updated much since then. I'll issue an update to the screencast that advises the use of script/plugin instead.
