mdobrin26
1 post
|
Topic: Redmine /
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:
http://www.redmine.org/wiki/1/Plugin_Tutorial
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
valid argument – C:/Program Files/BitNami Redmine Stack/apps/redmine/config/envi
ronments/“production”.rb (Errno::EINVAL)
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:386:
in `load_environment’
from C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/ac
tivesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warni
ngs’
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:379:
in `load_environment’
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:137:
in `process’
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:113:
in `send’
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:113:
in `run’
from C:/Program Files/BitNami Redmine Stack/apps/redmine/config/environm
ent.rb:20
from C:/PROGRA~1/BITNAM~1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re
quire.rb:31:in `gem_original_require’
from C:/PROGRA~1/BITNAM~1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re
quire.rb:31:in `require’
from C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/rails/ra
ilties/lib/commands/generate.rb:1
from C:/PROGRA~1/BITNAM~1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re
quire.rb:31:in `gem_original_require’
from C:/PROGRA~1/BITNAM~1/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re
quire.rb:31:in `require’
from script/generate:3
Any advice would be greatly appreciated. Thanks!
-Mike
|