Ruby : trying to install rubyXL gem from file

876 Views Asked by At

I am just starting with Ruby on Rails and need to use the RubyXL gem (https://github.com/gilt/rubyXL). I was told by one of the other devs to use bundle install. I cannot seem to get the syntax correct however, if I run "bundle install ./rubyXL-1.2.10.gem" I get ""install" was called incorrectly. Call as "bundle install".". How do I use bund

2

There are 2 best solutions below

2
On BEST ANSWER

If you need bundler you can add

gem 'rubyXL', :path => '_path_to_file_' to your Gemfile

0
On

You want gem install ./rubyXL-1.2.10.gem.