Project

General

Profile

pb on generating a new redmine plugin

Added by shopoto shopoto almost 14 years ago

Hi everyone!

i m on windows Xp
Ruby 187
Rails 2.3.5
Redmine 1.0.4.stable.4543 (MySQL)
Webrick

I'm trying to generate a new plugin as explained here:
http://www.redmine.org/wiki/1/Plugin_Tutorial

My problem is when I try to use the plugin genrator here is my error:

C:\redmine>ruby script/generate redmine_plugin redmine_my_plugin
C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:386:in `read': Invalid argument - C:/redmine/config/environments/"production" .rb (Er
rno::EINVAL)
        from C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:386:in `load_environment'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:379:in `load_environment'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:137:in `process'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
        from C:/redmine/config/environment.rb:20
        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/generate.rb:1
        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from script/generate:3

C:\redmine>

Have you ever encounter this problem?

Any help would be very appreciated!

Thx!


Replies (1)

RE: pb on generating a new redmine plugin - Added by Felix Schäfer almost 14 years ago

Please don't multipost, closing in favor of http://www.redmine.org/boards/2/topics/20325

Please also note that the "Plugins" Forum is for plugin annoucements or discussions about plugins, not for help about plugins or for code questions, thank you.

    (1-1/1)