Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission denied. #25

Open
ghost opened this issue Mar 1, 2011 · 0 comments
Open

permission denied. #25

ghost opened this issue Mar 1, 2011 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 1, 2011

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:inopen'
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:inmktmpdir'
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:incollect'
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:inrequire'
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:inrequire'
from script/rails:6:in `(root)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants