This forum is no longer active. Please post your questions to our new community site
Difficulty creating plugins
|
|
Hi, I’m a newbie and need detailed assistance with how to get started creating plugins. 1) I downloaded and installed BitNami Redmine 0.9.1 on Windows XP. 2) I have successfully started up the BitNami Redmine command prompt and I navigate to C:\Program Files\BitNami Redmine Stack\apps\redmine. Ruby and MySQL commands both seem to be recognized. 3) I am following the plugin tutorial on the redmine website: 4) I have completed step 1 and successfully set my RAILS_ENV variable with the command “set RAILS_ENV=”production" 5) I cannot complete step 2, which is for generating a sample plugin file. I enter the following: ruby script/generate redmine_plugin Polls and receive the following error: ./script/../config/../vendor/rails/railties/lib/initializer.rb:386:in `read’: In Any advice would be greatly appreciated. Thanks! -Mike |
|
|
Hi,
I think that you have to set the RAILS_ENV environment variable without quotes: set RAILS_ENV=production Cheers. |
|
|
Hi everyone! It seems that I’ve encountered the same problem as Mike. Have you solve this one? Il be very glad if you could tell me how to solve this one! I m on windows Xp I’m trying to generate a new plugin as explained here: My problem is when I try to use the plugin genrator here is my error:
|
|
|
Hi, It seems that you did not set the environment properly:
Try to set the environment with the following command:
and re-run the same command. |
|
|
Hi is there recommended way of setting permissions while creating a plug in. I’m using the UBUNTU VM of redmine, I get errors all the time because of permission settings. |

