I’m using jruby-1.6.0.rc2 and rails 3.
I’ve installed gem web-app-them and run:
jruby -S rails g web_app_theme:theme --theme=“drastic-dark”
–engine=haml --app-name=“MyApp”
I’ve this error:
org/jruby/RubyFile.java:428:in initialize': Permission denied - /tmp/web-app-theme-haml20110301-12010-r707i1/. (Errno::EACCES) from org/jruby/RubyIO.java:1074:in
open’
from /home/user/jruby/lib/ruby/1.8/fileutils.rb:699:in
remove_entry_secure' from /home/user/jruby/lib/ruby/1.8/tmpdir.rb:131:in
mktmpdir’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/web-app-theme-0.6.3/lib/generators/web_app_theme/theme/theme_generator.rb:49:in
generate_haml_layout' from /home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/web-app-theme-0.6.3/lib/generators/web_app_theme/theme/theme_generator.rb:20:in
copy_layout’
from org/jruby/RubyKernel.java:2039:in send' from /home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:21:in
run’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in
invoke_task' from /home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:in
invoke_all’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/core_ext/ordered_hash.rb:73:in
each' from org/jruby/RubyEnumerable.java:701:in
collect’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:in
invoke_all' from /home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/group.rb:226:in
dispatch’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in
start' from /home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/railties-3.0.5/lib/rails/generators.rb:163:in
invoke’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/railties-3.0.5/lib/rails/commands/generate.rb:10:in
(root)' from org/jruby/RubyKernel.java:1038:in
require’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in
require' from /home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in
load_dependency’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:596:in
new_constants_in' from /home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:595:in
new_constants_in’
from AbstractScript.java:41:in (root)' from /home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:in
load_dependency’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in
require' from AbstractScript.java:41:in
(root)’
from
/home/user/jruby-1.6.0.RC2/lib/ruby/gems/1.8/gems/railties-3.0.5/lib/rails/commands/generate.rb:17:in
(root)' from org/jruby/RubyKernel.java:1038:in
require’
from script/rails:6:in `(root)’
It’s a jruby problem?