noob: windows环境下如何在redmine中创建插件?

发布于 2024-12-11 03:02:53 字数 533 浏览 3 评论 0 原文

我已经安装了 bitnami redmine stack 和 mysql plus ruby​​ 1.81,rails 2.3.11 和 ruby​​gems 1.3.7 安装在我的本地系统中。问题是我不知道该走哪条路径开始生成插件,甚至提到了 redmine 插件教程民意调查在redmine主站点的wiki中没有提到它。我应该在供应商/插件还是在中编写ruby脚本/生成redmine_plugin民意调查“C:\Program Files\BitNami Redmine Stack\apps\redmine>ruby script/generate redmine_plugin Polls -e production”。需要帮助。我还附上了它的屏幕截图。另外,在一个实例中,我确实设法创建了民意调查插件,但它没有显示在文件夹中的任何位置。我在此处附加两个屏幕截图 1 uresolved 2

i had installed bitnami redmine stack and mysql plus ruby 1.81,and rails 2.3.11 and rubygems 1.3.7 installed in my local system.trouble is i don't know which path to go n start generating plugin even the redmine plugin tutorial polls mentioned in the wiki of redmine main site has not mentioned it.should i write ruby script/generate redmine_plugin Polls in vendor/plugin or in "C:\Program Files\BitNami Redmine Stack\apps\redmine>ruby script/generate redmine_plugin Polls -e production".need help. am also attaching the screenshots of it. also in one instance i did managed to create polls plugin trouble its not showing anywhere in folder. am attaching both screenshots here 1 uresolved 2 created plugin but its not showing anywhere

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

孤檠 2024-12-18 03:02:53

好吧,意识到我在哪里犯了错误。显然,数据库名称在 database.yml 文件中的生产和开发中并不常见。一旦纠正它就开始工作。

Ok realized where i had made the mistake. apparently the database name was not common in production as well as in development in the database.yml file. Once thats corrected it started working.

说不完的你爱 2024-12-18 03:02:53

对于 BitNami,我使用了以下命令并且它起作用了。首先需要找到rails存放的目录:

ruby htdocs/script/rails generate redmine_plugin Polls

With BitNami I used the following command and it worked. First you need to find the directory where rails is stored:

ruby htdocs/script/rails generate redmine_plugin Polls
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文