Monday, 15 July 2013

How can I use a Ruby Gem file local to my project as opposed to a gem installed on the system? -



How can I use a Ruby Gem file local to my project as opposed to a gem installed on the system? -

i have sass gem installed on scheme (v3.3.8), have project requires v3.2.19). have situation there conflict on scheme v3.2.19 exsiting (codekit won't compile sass if older versions of gem installed).

i used bundler install re-create of required gems in folder local project:

my_project/src/vendor/bundle/ruby/...

how can forcefulness project utilize ruby gems in local folder grunt tasks, instead of installed globally on system?

# sample gemfile source "https://rubygems.org" gem 'autoprefixer-rails', ">=1.2.0.20140609" gem 'breakpoint', ">=2.0.7" gem 'compass', ">=0.12.6" gem 'sass', ">=3.2.19" gem 'singularitygs', ">=1.1.2"

bundle exec right command.

ruby gem rubygems bundle bundler

No comments:

Post a Comment