2014-10-23 2 views
0

나는 Gems와 관련하여 꽤 초록색입니다. 그래서 그것은 아주 명백한 오류 일 수 있습니다. 그러나 실제로 어떤 도움을 사용할 수 있습니다.LoadError : 해당 파일을로드 할 수 없습니다. - actionmailer

irb에서 "actionmailer '을 (를) 요구하면 아래 오류가 표시됩니다.

irb(main):001:0> require 'actionmailer' 
LoadError: cannot load such file -- actionmailer 
    from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in 
`require' 
    from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in 
`require' 
     from (irb):1 
     from C:/Ruby200/bin/irb:12:in `<main>' 

C:\Users\xxxyyyy\RubyPrac>gem env 
RubyGems Environment: 
- RUBYGEMS VERSION: 2.0.14 
- RUBY VERSION: 2.0.0 (2014-02-24 patchlevel 451) [i386-mingw32] 
- INSTALLATION DIRECTORY: C:/Ruby200/lib/ruby/gems/2.0.0 
- RUBY EXECUTABLE: C:/Ruby200/bin/ruby.exe 
- EXECUTABLE DIRECTORY: C:/Ruby200/bin 
- RUBYGEMS PLATFORMS: 
    - ruby 
    - x86-mingw32 
- GEM PATHS: 
    - C:/Ruby200/lib/ruby/gems/2.0.0 
    - C:/Users/xxxxyyyy/.gem/ruby/2.0.0 
- GEM CONFIGURATION: 
    - :update_sources => true 
    - :verbose => true 
    - :backtrace => false 
    - :bulk_threshold => 1000 
- REMOTE SOURCES: 
    - https://rubygems.org/ 

도와주십시오 보석 ENV의 출력입니다. 오후 8시 30 분 P.S. Windows 7 컴퓨터에서 작업하고 있습니다.

답변

1

오타입니다. 레일이 설치되어 있거나 별도로 설치되어 있다고 가정하면 다음과 같아야합니다.

PS이어야합니다. 루비가있는 창문에서는 작동하지 마십시오. 그것은 고통 일뿐입니다.

+0

오. 효과가있었습니다. 이상하게도, '보석 목록'을 작성하면 보석의 이름이 'actionmailer (4.1.6)'입니다. –

관련 문제