southbridgeio / redmine_bots

43 stars 11 forks source link

Issue while installing plugin #22

Closed kiritdevda closed 5 years ago

kiritdevda commented 5 years ago

HI Guys,

I am facing below error while installing the plugin in redmine my redmine version is greater then 3.3 my redmine is on windows 7 64 bit

C:\Bitnami\redmine-3.4.6-4\apps\redmine\htdocs\plugins\redmine_bots-master>bundl
e exec rake redmine:plugins:migrate RAILS_ENV=production
(in C:/Bitnami/redmine-3.4.6-4/apps/redmine/htdocs)
rake aborted!
LoadError: cannot load such file -- rails/all
C:/Bitnami/redmine-3.4.6-4/apps/redmine/htdocs/config/application.rb:3:in `requi
re'
C:/Bitnami/redmine-3.4.6-4/apps/redmine/htdocs/config/application.rb:3:in `<top
(required)>'
C:/Bitnami/redmine-3.4.6-4/apps/redmine/htdocs/Rakefile:5:in `require'
C:/Bitnami/redmine-3.4.6-4/apps/redmine/htdocs/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

Steps done by me was to clone repo in plugin directory and then run command

bundle 
bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Please let me know whether iam following correct steps to install the plugin or something more needs to be done .As Installation steps are not mentioned in README so please if you update the Readme i followed steps to install plugin according to redmine doc

I wanted to install 2FA plugin for redmine which has dependency on this plugin , However i am facing problem installing this plugin itself

vladislav-yashin commented 5 years ago

Hello!

C:\Bitnami\redmine-3.4.6-4\apps\redmine\htdocs\plugins\redmine_bots-master>bundl e exec rake redmine:plugins:migrate RAILS_ENV=production

Looks like you have run commands not from redmine root diretory.

kiritdevda commented 5 years ago

yeah ... thanks solved the issue