I am just starting to play with Jruby and rails and when trying to
create my first application I am getting this error:
C:\Projects>jruby -S rails TestProgram
C:/JRuby/jruby-1.1.5/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:38:in
`require’: no such file to load -
- tempfile (LoadError)
from
C:/JRuby/jruby-1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.2/bin/rails:13
from
C:/JRuby/jruby-1.1.5/lib/ruby/gems/1.8/gems/rails-2.2.2/bin/rails:19:in
`load’
from C:/JRuby/jruby-1.1.5/bin/rails:19
C:\Projects>java -version
java version “1.6.0_10”
Java™ SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot™ Client VM (build 11.0-b15, mixed mode, sharing)
C:\Projects>jruby -v
jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-03 rev 7996) [x86-java]
C:\Projects>rails -v
Rails 2.2.2
Looked around on google and couldnt find anything related to tempfile.
Can anyone help?