Can't install plugin
Closed this issue · 4 comments
cd /opt/bitnami/apps/redmine/htdocs/plugins
git clone https://github.com/eyp/redmine_spent_time.git
Cloning into 'redmine_spent_time'...
remote: Reusing existing pack: 823, done.
remote: Total 823 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (823/823), 138.00 KiB | 145.00 KiB/s, done.
Resolving deltas: 100% (360/360), done.
Checking connectivity... done.
cd /opt/bitnami/apps/redmine
bundle install
Bundler::GemfileNotFound
cd /opt/bitnami/apps/redmine/htdocs/plugins
bundle install
You are trying to install in deployment mode after changing
your Gemfile. Run bundle install
elsewhere and add the
updated Gemfile.lock to version control.
If this is a development machine, remove the Gemfile freeze
by running bundle install --no-deployment
.
You have added to the Gemfile:
- best_in_place
What i need to do? I am not expert at Ruby:(
Which directory is htdocs?, plugins must be cloned into redmine/plugins.
htdocs is /opt/bitnami/apps/redmine/htdocs
cd /opt/bitnami/apps/redmine/htdocs/plugins
git clone https://github.com/eyp/redmine_spent_time.git
Yes, I've seen what is htdocs, what I mean is that htdocs is not a directory of Redmine.
The place to install plugins is redmine/plugins, I don't know what htdocs is within the Redmine distribution.
If your Redmine root is htdocs, then you MUST run 'bundle install' from there, that is where Gemfile is located.
You are trying to install in deployment mode after changing your Gemfile.
bundle install --no-deployment
it's working now,
thanks a lot :)