Project

General

Profile

*SOLVED* How install gem to use it on Redmine 2.4.3 plugin ?

Added by Kévin BEAUCORAL over 10 years ago

Hello,

I'm updating my redmine 1.3.0 to a Redmine 2.4.3, I want to install a gem (spreadsheet-0.7.2.gem) who are used on my own plugin.
But after installing with :
gem install spreadsheet-0.7.2.gem

Redmine canno't launch because he can't load 'spreadsheet' in the "init.rb" of my plugin at line :
require 'spreadsheet'

On Redmine 1.3.0, this manipulation is fonctionnal... in Redmine 2.4.3 he's not.

So, How I can install gems for Redmine 2.4.3?

Friendly,
BEAUCORAL Kevin.


Replies (1)

RE: *SOLVED* How install gem to use it on Redmine 2.4.3 plugin ? - Added by Kévin BEAUCORAL over 10 years ago

Founded !!!

When I've a gem installed in local, to use :
bundle install

I need to type the parameter :
--local

After integrate this in a Gemfile :
gem "spreadsheet", "0.7.2"

Not thanks for your... not help !

    (1-1/1)