나는 Ramaze 버전 2012.04.14, Rubygems 1.3.6 및 Ruby 1.8.6을 가지고 있으므로 최신 버전을 가지고 있습니다. 내 콘솔은 Ramaze 및 모든 관련 명령을 인식합니다. (실행할 수 있습니다 ramaze --version
)보석과 함께 설치된 ramaze를 찾을 수 없습니다
내 www/
폴더 내 공용 파일이있는 내 localhost 환경 내에 폴더를 만들었습니다.
www/demo/hello_ramaze.rb
code as explained in the tutorial을 파일로 사용합니다.
require 'ramaze'
class MyController < Ramaze::Controller
map '/'
def index
return "Hello, Ramaze!"
end
end
Ramaze.start
나는 ruby hello_ramaze.rb
를 실행하려고하고 나는이 오류가 발생합니다.
hello_ramaze.rb : 1 :에서`필요 : 그런 파일로드 없습니다 - (LoadError)를 ramaze hello_ramaze.rb에서 1