rubyrubygemsbundlerubyxl

Ruby : trying to install rubyXL gem from file


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


Solution

  • If you need bundler you can add

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