Rails command line scripts fail when using git source #596

Closed
bensie opened this Issue Aug 20, 2010 · 2 comments

Comments

Projects
None yet
3 participants
@bensie
Contributor

bensie commented Aug 20, 2010

Using Bundler 1.0.0.rc.5, rvm (head) with MRI 1.8.7, and Rails 3 with the Gemfile:

source 'http://rubygems.org'
gem 'rails', :git => "http://github.com/rails/rails.git"
gem 'arel', :git => "http://github.com/rails/arel.git"
gem 'mysql2', '0.1.9'

To reproduce:
Run rvm gemset empty 1.8.7 to ensure no existing gems are installed
gem install bundler --pre
bundle install within rails app
rails -v generates the following: http://gist.github.com/540780

Using bundle exec rails -v works correctly and returns Rails 3.0.0.rc

@wycats

This comment has been minimized.

Show comment Hide comment
@wycats

wycats Sep 16, 2010

Contributor

In 1.0, bundler does not install executables to the normal system location for gems installed from git. In 1.1, we will do this.

Contributor

wycats commented Sep 16, 2010

In 1.0, bundler does not install executables to the normal system location for gems installed from git. In 1.1, we will do this.

@indirect

This comment has been minimized.

Show comment Hide comment
@indirect

indirect Jun 2, 2011

Owner

Because Bundler cannot reliably install system binaries that play nicely with Rubygems, the correct solution to this issue is to use bundle install --binstubs and then run the binaries out of ./bin/.

Owner

indirect commented Jun 2, 2011

Because Bundler cannot reliably install system binaries that play nicely with Rubygems, the correct solution to this issue is to use bundle install --binstubs and then run the binaries out of ./bin/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment