Giter VIP home page Giter VIP logo

bundler-exec's Introduction

๐Ÿ‘‹ Hello there!

I'm a full stack developer, primarily using Python, JavaScript (TypeScript), and Ruby.

I'm the founder and developer of Agile Planner (a project management app for agile teams) and creator of Nesta CMS (a file-based CMS and static site generator).

Code

I've got plenty of open source projects written in Python and written in Ruby.

Most of my JavaScript/TypeScript work has been for clients, but if you'd like to see some of my code you can take a look at seo-link-analyzer.

I've also got a handful of Linux/dev-tool related projects, such as my Vim config and the (rather magical) fzf-powered tmux-fuzzy-launcher for Vim and tmux users.

Interests

  • ๐Ÿ‘ I like: Python, JavaScript, TypeScript, Linux, shell scripting, Docker, designing and testing products, UX design, building user interfaces, writing copy, and mentoring.

  • ๐Ÿ’ฌ Ask me about: Extreme Programming, Refactoring, TDD, writing code that's easy to change, pair/mob programming, and automating all of the things.

  • ๐Ÿ”จ I use: Neovim and tmux for solo projects, and VS Code when pairing. Today's dev tools are pretty great!

Work

I'm available for freelance or contract work. If you think I might be able to help you, feel free to get in touch.

LinkedIn logo

Mastodon | Twitter

bundler-exec's People

Contributors

aki2o avatar atalanta avatar bomberstudios avatar calebhearth avatar fonsan avatar gma avatar grosser avatar hakanensari avatar jimmycuadra avatar kamaradclimber avatar leehambley avatar leonb avatar pjg avatar sebastienbeau avatar serenatiede-zen avatar soupmatt avatar woutersioen avatar zuchmanski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bundler-exec's Issues

Does not support spaces (or quotes?)

When I run a rake command related to Octopress (using Jekyll) to create a new blog post, I type:
rake new_post["Post title"]

This normally works great; however once I enabled bundler-exec, I received the error:
rake aborted!
Don't know how to build task 'new_post[Post'

I confess to not being sure exactly where the problem is; but it would seem somewhere along the lines the quotes are being interpreted, and lost, and not passed on, and so then the spaces become a problem.

Cut down list of commands to bare minimum; read .bundler-execrc file

The list of files being included in bundler-exec is getting pretty thick, and creating issues and pull requests to add new ones gets tedious.

Could we use a really simple list (rails, rake, ...) and something like .bundler-execrc or the like to list out the extra commands which should be run using bundler?

allow opt-out

once in a while i do not want to use bundler -> it should be possible to circumvent this

e.g. NO_BUNDLER=1 ruby -e 'test'

fails with ruby 1.9.2p180 +bundler (1.0.15) + rake (0.9.2)

After installing bundle-exec, rake no longer works (see bottom of stacktrace)

> ruby -v ; gem list bundler ; gem list rake
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
bundler (1.0.15)
rake (0.9.2)

> rake -T
rake build    # Build fail_fast-0.5.1.gem into the pkg directory
rake install  # Build and install fail_fast-0.5.1.gem into system gems
rake release  # Create tag v0.5.1 and build and push fail_fast-0.5.1.gem to Rubygems

> [ -f ~/.bundler-exec.sh ] && source ~/.bundler-exec.sh

> rake -T
Bundling your gems. This may take a few minutes on first run.
/Users/ara/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.15/lib/bundler/rubygems_integration.rb:143:in `block in replace_gem': rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
    from /Users/ara/.rvm/gems/ruby-1.9.2-p180/bin/rake:18:in `<main>'

/etc/profile.d/bundler-exec.sh script breaks GNOME desktop on Arch Linux

Your package bundler-exec (version latest-1) provides a fault script /etc/profile.d/bundler-exec.sh because of which I was not able to login to GNOME 3.20 on Arch Linux. More details: https://bbs.archlinux.org/viewtopic.php?id=211284
You must know that all the scripts in /etc/profile.d directory are run by sh at the time of login in GDM (usually because bash or zsh are default shell). sh shell does not allow - in the name of identifiers, so I get this error

Apr 13 14:36:59 ArchLinux /usr/lib/gdm/gdm-x-session[2719]: /etc/profile.d/bundler-exec.sh: line 12: `bundler-installed': not a valid identifier

you should please fix this problem asap :-) I have installed this package from https://aur.archlinux.org/packages/bundler-exec/
Fixing it requires to remove - from all identifiers

Support `ls ruby-home/bin`

Just an idea:
instead of manually adding every ruby executable, how about having 'any ruby executable' as default.
Im not really sure if its possile, but it would be nice <-> would prevent these 'I added rspec/turn/xxx' pull requests :)

-bash: [: ==: unary operator expected

Whenever I run a supported command within a bundler directory.

The current version of run-with-bundler:

run-with-bundler()
{
    if bundler-installed && within-bundled-project; then
        if [ $command == "ruby" ]; then
            ruby -rbundler/setup "$@"
        else
            bundle exec $command "$@"
        fi
    else
        "$@"
    fi
}

Through some echo statements I discovered that $command is not set, and $@ is the entire command entered. So I changed it to use $1, thus:

run-with-bundler()
{
    if bundler-installed && within-bundled-project; then
        if [ $1 == "ruby" ]; then
            ruby -rbundler/setup "$@"
        else
            bundle exec "$@"
        fi
    else
        "$@"
    fi
}

Now it works.

'bundler-installed': not a valid identifier

First off, I'm new to bash, ruby, and rails, so my knowledge on bash is a little limited

Sourcing .bundler-exec.sh from .bashrc doesn't seem to be working for me.

I get these errors:

-sh: 'bundler-installed': not a valid identifier -sh: 'within-bundled-project': not a valid identifier -sh: 'run-with-bundler': not a valid identifier

My .bashrc, .profile, and .bash_profile are all symlinks to files in my dropbox folder. I wonder if that could have anything to do with it. I know my .bashrc files is loading everything else properly except for [ -f ~/.bundler-exec.sh ] && source ~/.bundler-exec.sh.

Any suggestions?

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.