• 颈椎贴 at 2013年09月05日

    #32 楼 @zj0713001 是啊,有个把月研究其他东西去了,ruby 被搁置了,正准备重新捡起来呢,发了个 mail 给您,结果。。。只好来这悄悄的借用一下他人地盘。。。

  • 颈椎贴 at 2013年09月05日
  • #31 楼 @ChanceDoor 前面我贴出来的那一串错误信息,不会是系统让我搞来搞去搞坏了吧?

  • #31 楼 @ChanceDoor 谢谢你,正在下载 ing

  • #28 楼 @ChanceDoor 我昨天装上后,感觉就多了” 联系人 “模块,但是页面内的内容好少,不细看几乎看不出啥变化。

  • #29 楼 @ChanceDoor 我昨天照那段话操作了,先卸载了之前的安装。

    第一部分,这块没明白他什么意思,我跳过没处理。 Unzip plugin into ./plugins/. This would result in a directory-path like: ./plugins/redmine_contacts/init.rb

    从第二部分开始,执行了这句话。结果报错,我尝试按照提示修改都没成功。 bundle install --without development test

    今天想在返回到昨天的状态,按照昨天的操作再来一次,结果执行昨天操作的语句: rake redmine:plugins:migrate RAILS_ENV=production

    新报了这个错误:

    C:\Documents and Settings\Administrator\桌面>cd c:\Sites\redmine-2.3.0

    C:\Sites\redmine-2.3.0>cmd C:\RailsInstaller\Ruby1.9.3\setup_environment.bat Microsoft Windows XP 版本 5.1.2600 版权所有 1985-2001 Microsoft Corp.

    C:\Sites\redmine-2.3.0>rake redmine:plugins:migrate RAILS_ENV=production [31mCould not find rmagick-2.13.2 in any of the sources[0m [33mRun bundle install to install missing gems.[0m

    C:\Sites\redmine-2.3.0>gem install rmagick Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension.

    C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb checking for Ruby version >= 1.8.5... yes 无效驱动器规格。 Unable to get ImageMagick version *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

    Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=C:/RailsInstaller/Ruby1.9.3/bin/ruby

    Gem files will remain installed in C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9 .1/gems/rmagick-2.13.2 for inspection. Results logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/rmagick-2 .13.2/ext/RMagick/gem_make.out

    C:\Sites\redmine-2.3.0>bundle install rmagick bundle install requires at least 0 argument: "bundle install".

    C:\Sites\redmine-2.3.0>

  • #25 楼 @zj0713001 感觉我白天装的插件好像缺少一些东西,我把他卸了。

    在 CRM 网站上看到这段话:

    Installation Unzip plugin into ./plugins/. This would result in a directory-path like: ./plugins/redmine_contacts/init.rb

    Install dependent ruby gems by following command: bundle install --without development test

    Migrate database and copy assets by following command: bundle exec rake redmine:plugins NAME=redmine_contacts RAILS_ENV=production

    You now need to restart Redmine so that it shows the newly installed plugin in the list of installed plugins ("Administration -> Plugins"). Go to "Administration -> Contacts" and setup plugin global settings.

    是不是应该按照这样来安装?

    第一块这段话没理解,init.rb 这个文件有什么讲究么?

    Unzip plugin into ./plugins/. This would result in a directory-path like: ./plugins/redmine_contacts/init.rb

  • #25 楼 @zj0713001 嗯,初来匝道,就受到你这位大牛帮助,让我不知如何表达感激之情...

  • #23 楼 @zj0713001 你对我的帮助,让我很感动啊。

  • #21 楼 @zj0713001 http://www.redminecrm.com/projects/crm/pages/1

    我从这个页面下载的 CRM 插件