2011-04-07 2 views
0

필자는 테스트 젬을 설치하려고했는데 갑자기 번들러가 모든 젬을 다시 설치하려고했습니다. 이게 왜 그렇게? 내 개발자와 같은 보석을 보지 않아야합니까?번들러 설치 RAILS_ENV = test는 모든 보석을 다시 설치합니까?

bundle install RAILS_ENV=test 
Fetching git://github.com/odorcicd/authlogic.git 
remote: Counting objects: 3652, done. 
remote: Compressing objects: 100% (1337/1337), done. 
remote: Total 3652 (delta 2389), reused 3331 (delta 2193) 
Receiving objects: 100% (3652/3652), 574.45 KiB | 15 KiB/s, done. 
Resolving deltas: 100% (2389/2389), done. 
Fetching git://github.com/stalcottsmith/rails3_acts_as_paranoid.git 
remote: Counting objects: 250, done. 
remote: Compressing objects: 100% (202/202), done. 
remote: Total 250 (delta 131), reused 93 (delta 44) 
Receiving objects: 100% (250/250), 45.66 KiB | 30 KiB/s, done. 
Resolving deltas: 100% (131/131), done. 
Fetching git://github.com/stalcottsmith/watir.git 
remote: Counting objects: 15547, done. 
remote: Compressing objects: 100% (5377/5377), done. 
remote: Total 15547 (delta 10218), reused 14217 (delta 9908) 
Receiving objects: 100% (15547/15547), 8.64 MiB | 18 KiB/s, done. 
Resolving deltas: 100% (10218/10218), done. 
Fetching source index for http://rubygems.org/ 
Fetching source index for http://gemcutter.org/ 
Installing rake (0.8.7) 
Installing abstract (1.0.0) 
Installing activesupport (3.0.3) 
Installing builder (2.1.2) 
Installing i18n (0.5.0) 
Installing activemodel (3.0.3) 
Installing erubis (2.6.6) 
Installing rack (1.2.1) 
Installing rack-mount (0.6.13) 
Installing rack-test (0.5.7) 
Installing tzinfo (0.3.24) 
Installing actionpack (3.0.3) 
Installing mime-types (1.16) 
Installing polyglot (0.3.1) 
Installing treetop (1.4.9) 
Installing mail (2.2.14) 
Installing actionmailer (3.0.3) 
Installing arel (2.0.7) 
Installing activerecord (3.0.3) 
Installing activeresource (3.0.3) 
Installing acts_as_versioned (0.6.0) 
Installing andand (1.3.1) 
Installing annotate (2.4.0) 
Installing hoe (2.8.0) 
Installing ar_fixtures (0.0.4) 
Installing archive-tar-minitar (0.5.2) 
Using authlogic (2.1.3) from git://github.com/odorcicd/authlogic.git (at rails3) 
Using bundler (1.0.7) 
Installing celerity (0.8.7) 
Installing culerity (0.2.14) 
Installing nokogiri (1.4.4) with native extensions 

답변

1

TROLOLOL!

분명히 bundler install <something>은 해당 폴더에 모든 보석을 설치합니다. 나는 내가 git 상태 일 때 "RAILS_ENV = test /"라는 커밋되지 않은 폴더를 보았을 때 알았다.

추가 참고 사항으로 이전 경로를 "기억"하여 후속 번들 설치시 RAILS_ENV = test/folder를 다시 만들었습니다. 재설정하려면 사용

bundler install --system 
+1

ROFL 나도 지금, 관심을 지불하지 그랬어 . 번들러가 처음 나왔을 때이 "기능"에 대해 읽은 것을 기억합니다. 이제는 떨어졌습니다. – genkilabs

0

당신이 Bundler를 버전

bundle install --system 

을 테스트 찾고있는 명령 1.0.10

+0

실제로 테스트 환경의 보석을 설치하고 싶었습니다. – corroded

관련 문제