Code Monkey home page Code Monkey logo

bundler-bower's Issues

Is there a way to execute without running gem install 'bundler-bower' before?

Basically I'm trying to reduce the amount of things users have to do to get up and running. Ideally it would only be bundle install.

Right now, in the Gemfile I'm running npm install as the last step and bower install as the post install npm step.

I'd like to install gem + require + install asset "all at once".

Thanks,

Cannot load such file -- bundler/bower

Environment:

  • Mac OS X 10.11.3 (El Capitan)
  • Homebrew 0.9.5
  • rvm 1.26.11 (same problem occurs with rbenv)
  • Bundler 1.11.2

Gemfile (excerpt):

source 'https://rubygems.org'
require 'bundler/bower'

asset "jquery", "~2.1.4"`

Observation:

bundle install

[!] There was an error parsing `Gemfile`: cannot load such file -- bundler/bower. Bundler cannot continue.

 #  from /Users/nobby/becompany/website/src/website-static/Gemfile:5
 #  -------------------------------------------
 #  
 >  require 'bundler/bower'
 #  
 #  -------------------------------------------

RubyGems Environment:

- RUBYGEMS VERSION: 2.5.1
- RUBY VERSION: 2.3.0 (2015-12-25 patchlevel 0) [x86_64-darwin15]
- INSTALLATION DIRECTORY: /Users/nobby/.rvm/gems/ruby-2.3.0
- USER INSTALLATION DIRECTORY: /Users/nobby/.gem/ruby/2.3.0
- RUBY EXECUTABLE: /Users/nobby/.rvm/rubies/ruby-2.3.0/bin/ruby
- EXECUTABLE DIRECTORY: /Users/nobby/.rvm/gems/ruby-2.3.0/bin
- SPEC CACHE DIRECTORY: /Users/nobby/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /Users/nobby/.rvm/rubies/ruby-2.3.0/etc
- RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-15
- GEM PATHS:
    - /Users/nobby/.rvm/gems/ruby-2.3.0
    - /Users/nobby/.rvm/gems/ruby-2.3.0@global
- GEM CONFIGURATION:
    - :update_sources => true
    - :verbose => true
    - :backtrace => false
    - :bulk_threshold => 1000
- REMOTE SOURCES:
    - https://rubygems.org/
- SHELL PATH:
    - /Users/nobby/.rvm/gems/ruby-2.3.0/bin
    - /Users/nobby/.rvm/gems/ruby-2.3.0@global/bin
    - /Users/nobby/.rvm/rubies/ruby-2.3.0/bin
    - /Users/nobby/.rvm/bin
    - /Users/nobby/src/apache/ant/apache-ant-1.9.6/bin
    - /usr/local/bin
    - /usr/bin
    - /bin
    - /usr/sbin
    - /sbin

Maybe bundler is looking in the wrong gem paths?
Any help is greatly appreciated – thanks a lot in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.