Well after a long time, I finally had to shift back to ROR development on Windows. I am running on Windows Vista, Rails 3, ruby 1.9.2. Things are not all that bad on windows, or at least, not as much as I thought they might be. But, we definitely keep on facing problems here and there. There is one such which you also might face if you try development on Rails 3 with ruby 1.9.2. There seems to be a bug with the gems that are installed with the one click windows ruby installer. I am not sure why, but you may lead to see the following error message once you start using rake:
`bin_path’: can’t find executable rake for rake-0.8.7 (Gem::Exception)
Now the solution to get away from this bug as of this writing is that you will have to remove the rake.gemspec file from the “your_path_to\Ruby192\lib\ruby\gems\1.9.1\specifications” folder.
And you are good to go now. I do not have really too much time to dig into the matter as to why this might be happening, but i worked for me.
from:[url]http://sanjusoftware.wordpress.com/2010/12/04/bin_path%E2%80%99-can%E2%80%99t-find-executable-rake-for-rake-0-8-7-gemexception/[/url]
`bin_path’: can’t find executable rake for rake-0.8.7 (Gem::Exception)
Now the solution to get away from this bug as of this writing is that you will have to remove the rake.gemspec file from the “your_path_to\Ruby192\lib\ruby\gems\1.9.1\specifications” folder.
And you are good to go now. I do not have really too much time to dig into the matter as to why this might be happening, but i worked for me.
from:[url]http://sanjusoftware.wordpress.com/2010/12/04/bin_path%E2%80%99-can%E2%80%99t-find-executable-rake-for-rake-0-8-7-gemexception/[/url]
本文介绍了一个在Windows Vista环境下使用Rails 3和Ruby 1.9.2进行开发时遇到的问题:运行rake命令时出现`bin_path’:can’t find executable rake for rake-0.8.7 (Gem::Exception)错误。文章提供了解决方案,即删除特定路径下的rake.gemspec文件。
3860

被折叠的 条评论
为什么被折叠?



