ruby

2017. 3. 17. 00:42
728x90

rails s를 하면

C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/git/git_proxy.rb:225:in `allowed_in_path': The git source git://github.com/parasew/acts_as_tree.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/git/git_proxy.rb:183:in `find_local_revision'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/git/git_proxy.rb:63:in `revision'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/git.rb:220:in `revision'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/git.rb:88:in `install_path'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/path.rb:123:in `expanded_path'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/path.rb:150:in `load_spec_files'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/git.rb:193:in `load_spec_files'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/path.rb:97:in `local_specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/source/git.rb:161:in `specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/definition.rb:725:in `block in converge_locked_specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/definition.rb:714:in `each'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/definition.rb:714:in `converge_locked_specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/definition.rb:245:in `resolve'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/definition.rb:176:in `specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/definition.rb:235:in `specs_for'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/definition.rb:224:in `requested_specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/runtime.rb:118:in `block in definition_method'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler/runtime.rb:19:in `setup'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.14.6/lib/bundler.rb:100:in `setup'
        from C:/bori_mrk/config/boot.rb:8:in `<top (required)>'
        from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from script/rails:5:in `<main>'



bundle install 을 실행하면

 Fetching git://github.com/parasew/acts_as_tree.git
fatal: Not a git repository (or any of the parent directories): .git

Retrying `git fetch --force --quiet --tags "C:/Ruby193/lib/ruby/gems/1.9.1/cache
/bundler/git/acts_as_tree-3c50df6a51cbd17e29090bc04f9a9b227326e9de"` due to erro
r (2/4): Bundler::Source::Git::GitCommandError Git error: command `git fetch --f
orce --quiet --tags "C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/acts_as_tr
ee-3c50df6a51cbd17e29090bc04f9a9b227326e9de"` in directory C:/Ruby193/lib/ruby/g
ems/1.9.1/bundler/gems/acts_as_tree-ed52495d1671 has failed.
If this error persists you could try removing the cache directory 'C:/Ruby193/li
b/ruby/gems/1.9.1/cache/bundler/git/acts_as_tree-3c50df6a51cbd17e29090bc04f9a9b2
27326e9de'fatal: Not a git repository (or any of the parent directories): .git

Retrying `git fetch --force --quiet --tags "C:/Ruby193/lib/ruby/gems/1.9.1/cache
/bundler/git/acts_as_tree-3c50df6a51cbd17e29090bc04f9a9b227326e9de"` due to erro
r (3/4): Bundler::Source::Git::GitCommandError Git error: command `git fetch --f
orce --quiet --tags "C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/acts_as_tr
ee-3c50df6a51cbd17e29090bc04f9a9b227326e9de"` in directory C:/Ruby193/lib/ruby/g
ems/1.9.1/bundler/gems/acts_as_tree-ed52495d1671 has failed.
If this error persists you could try removing the cache directory 'C:/Ruby193/li
b/ruby/gems/1.9.1/cache/bundler/git/acts_as_tree-3c50df6a51cbd17e29090bc04f9a9b2
27326e9de'fatal: Not a git repository (or any of the parent directories): .git

Retrying `git fetch --force --quiet --tags "C:/Ruby193/lib/ruby/gems/1.9.1/cache
/bundler/git/acts_as_tree-3c50df6a51cbd17e29090bc04f9a9b227326e9de"` due to erro
r (4/4): Bundler::Source::Git::GitCommandError Git error: command `git fetch --f
orce --quiet --tags "C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/acts_as_tr
ee-3c50df6a51cbd17e29090bc04f9a9b227326e9de"` in directory C:/Ruby193/lib/ruby/g
ems/1.9.1/bundler/gems/acts_as_tree-ed52495d1671 has failed.
If this error persists you could try removing the cache directory 'C:/Ruby193/li
b/ruby/gems/1.9.1/cache/bundler/git/acts_as_tree-3c50df6a51cbd17e29090bc04f9a9b2
27326e9de'fatal: Not a git repository (or any of the parent directories): .git

Git error: command `git fetch --force --quiet --tags
"C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/acts_as_tree-3c50df6a51cbd17e2
9090bc04f9a9b227326e9de"`
in directory
C:/Ruby193/lib/ruby/gems/1.9.1/bundler/gems/acts_as_tree-ed52495d1671 has
failed.
If this error persists you could try removing the cache directory
'C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/acts_as_tree-3c50df6a51cbd17e2
9090bc04f9a9b227326e9de'


git status를 하면

On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   Gemfile
        modified:   Gemfile.lock
        modified:   config/database.yml

no changes added to commit (use "git add" and/or "git commit -a")


당췌 뭐가 문제인거야?

며칠전에 분명 됐었는데... ㅜ.ㅜ

-----

해결방법

bundle install했을 때

Fetching git://github.com/parasew/acts_as_tree.git 이런식으로

안되면
GemFile 에 다음과 같이 정의되어 있을 것이다.
gem "acts_as_tree" , :git => 'git://github.com/parasew/acts_as_tree.git'

이것에서 git 을 바라보지 않게 #으로 뒷부분을 주석처리하거나

gem "acts_as_tree" #, :git => 'git://github.com/parasew/acts_as_tree.git'

또는 아예 지워버리면 된다

gem "acts_as_tree"


휴~~. 다시 되니 반갑네 ㅋ


728x90

트랜스포터 된 날

2017. 3. 9. 22:54
728x90
그저께 미열이 있어 부라부랴 오늘 휴가를 썼는데 어제 괜찮아 짐.

그래서 오늘은 내가 솜이를 어린이집에 데려다 줬다
크게 붐비지는 않았고 도착해서 마스크 벗기고 인계를 했다.
돌아보는 척도 안하고 선생님(담임인지는 모름)을 따라 들어가 버렸다.

그 다음. 아내를 수영강좌에 데려다 주려고 차를 꺼내 옴.
작년 2월초에 샀는데 그동안 솜이랑 뒤에 타는라 오늘 처음 앞자리에 앉아 봄.
뒤에 매번 앉기 때문에 앞으로 바짝 땡겨놔서 뒤로 밀고 각도 맞추는데 시간이 좀 걸렸다.

데려다 주고 와서 영화 한 편 때리먼서 아이스크림 먹고 끝날 때쯤 아내가 왔다.

일요일도 아니었지만 짜장면을 끓여주고
좀 쉬고 있으니 솜이가 끝날 시간.

도착해서 조금 있으니 솜이가 담임선생님 손을 잡고 오는데 나를 별로 안 반가워하더군...
딴때는 팔을 벌리면 달려와 안기더니 흑흑.

집으로 데려오고
다시 빵을 사러 갔다오고

오늘은 하루종일 트랜스포터였다.
728x90
728x90
봐서는 안 될 영화...
옥수수에 SK고객은 무료라고 풀려있어서 다운받았는데
조금 보고 며칠 지나서 다시 보려고 하니...
이용기간 만료라고 뜨는데 해댕 페이지에서는 이용기간 자체가 없네...
뭐냐

728x90
728x90

처음 이사온 게 2014년인가? 이제 만 3년정도 되었군.

해바라기 수전을 종종 쓰는데 어느날 문득 쳐다보니... 상태가 안좋다.

근처 철물점에 갔더니 15만원이라고... 헉.(똑같이 생긴거였다)

해바라기 수전의 헤드만 바꾸면 될 것 같아서 열심히 뒤적거려서

겨~우 찾아낸게 9500원 짜리. ㅎㅎ

배송료 2500원이 별도였지만 이정도야 ㅋㅋ



일단 고무로 코팅 된 목장갑과 스패너를 준비

딱 헤더만 스패너로 돌리니 쉽게 빠지네

(주의 할 점 : 해바라기 헤더 안에 물이 차 있으므로 바로 아래서 작업하지 말고 비스듬히 작업해야 함.)​



떼어내고 보자 부식된 흔적이 장난이 아니다.

뒷면도 먼지가 좀 껴있네

새로운 해바라기 헤드 등장. 두둥~~~

설치시 무리하게 조이지 말라고 해서

모양 그대로 스패너 없이 돌림. 그냥 돌렸는데도 생각보다 꽉 조여줌.

부족하면 스패너로 조이려고 했었는데 필요가 없더군.


이렇게 15만원 지출할 것을 12000원에 해결 함

다음은 어딜 고쳐야 하나? 세면기를 뜯어 봐? ㅋ


728x90
728x90
날도 풀린 것 같아서 4시에 나가서
겨울용 타이어 다시 교체하고
(짝당 1만5천원 ㅜ.ㅜ)
세차를 하러 갔다.
오늘 따라 사람이 많아서 4대정도 기다렸다가 시작.
예비세척-> 습식폼건 -> 미트질 -> 세척 -> 말리기 -> 내부세차 -> 왁싱 -> 타이어 광택

세차를 마치고 짬뽕 한그릇 먹고 집에 오니...
10시 30분 ㅡ.ㅡ

이거 광 낸거 아까워서라도 내일 외출을 해야겠다.
열심히 광내고 있는 윤철이는 덤 ㅋ

728x90
728x90
처음 혼자 놔두는거라 조금 불안했지만 엄마말로는 뒤도 안돌아보고 뛰어들어 갔다고

담임선생님과 통화를 했다는데
점심에 밥을 잘 안먹고 동그랑땡만 먹었다고

잘 놀았는데 옆에 아이가 울 때 옆에서 눈물은 흘리지 안고 우는 척 했다나?

낮잠 자는데 다른반에 아이가 크게 우는 바람에 깼다고

그리고는 3시가 다 되어 데리고 왔다고

내가 버스를 잘못타서 헤매다 집에오니 뭐 달라진 건 없는것 같다

그래도 하나는 배워 왔나보다
뭐 물어보면 "네"라고 한다 ㅎ
728x90

여긴 어디...

2017. 3. 3. 19:02
728x90
퇴근 버스를 잘못 탔나보다 ㅜ.ㅜ

보통 잠에서 깨면 외곽순환도로에서 송내로 빠지는데...
오늘 잠에서 깨니 이상한 동네다.
아까 간석 오거리역. 좀 전에 백운역...
나 어디로 가고 있는거니
728x90

솜이 어린이집 가다

2017. 3. 3. 09:02
728x90
어제 저녁 입학식을 하고
오늘부터 혼자서 어린이집생활 시작이다.

이녀석 아직 기저귀도 차고있고 말도 아빠밖에 못하는데(엄마한테도 아빠라고 함 ㅋ)

밥은 잘 먹을 지
울지나 않을 지
적응을 잘 하려나 모르겠네

물론 놀이방 같은데에서는
모르는 형 누나들 쫓아다니기도 하고
재미있어서 집에 안가려고도 하는데

어제 받아온 책가방을 혼자 메고 돌아다니며
재밌어했는데

잘 하겠지?

이렇게 열공 하려나? ㅋ
728x90
728x90
첫째로 돈이 없지 시간이 없냐?
둘째로 일단 칼퇴근부터 시켜줘

생각난 김에 푸념한번

법정근로시간을 교묘히 피해 줄돈 안주는 게 제일 크다
8시간 넘으면 무조건 퇴근 또는 연장근무 수당 시급 * 1.5
주말출근시 특근수당 시급 * 2
3교대를 4교대로 바꿔야한다

500인 이상이 근무하는 건!물!은 직장어린이집을 운영해야한다
한 회사가 아니라 상주한 회사 인원의 합계로 500명
출산~교육은 나라에서 책임져라

728x90

책 읽는 척

2017. 2. 22. 14:04
728x90
ㅎㅎㅎ

728x90
BLOG main image
"그게 뭐 어쨌다는 거냐?" 늘 누가 나에게 나에대한 말을할 때면 이말을 기억해라. by nobang

카테고리

nobang이야기 (1951)
Life With Gopro (7)
Life With Mini (79)
Diary (971)
너 그거 아니(do you know) (179)
난 그래 (159)
Study (290)
속지말자 (10)
Project (34)
Poem (15)
Song (0)
Photo (113)
낙서장 (45)
일정 (0)
C.A.P.i (2)
PodCast (0)
nobang (27)
고한친구들 (4)
recieve (0)
History (0)
android_app (2)

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

Total :
Today : Yesterday :