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

[rails g css3buttons] command throwing an error, gem ver. 0.9.5, rails 3.05 #22

Open
ac74394 opened this issue Sep 26, 2011 · 0 comments

Comments

@ac74394
Copy link

ac74394 commented Sep 26, 2011

Just installed the gem using bundle install. Now trying to run the generator and here is the error output...running 'rails g css3buttons' (help is greatly appreciated!):

/usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/core_ext/file_binary_read.rb:5:in initialize': Permission denied - /usr/local/lib/ruby/gems/1.8/gems/css3buttons-0.9.5/lib/generators/css3buttons/templates/public/images/gh-icons.png (Errno::EACCES) from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/core_ext/file_binary_read.rb:5:inopen'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/core_ext/file_binary_read.rb:5:in binread' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:27:incopy_file'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions/create_file.rb:54:in call' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions/create_file.rb:54:inrender'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions/create_file.rb:47:in identical?' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions/create_file.rb:73:inon_conflict_behavior'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions/empty_directory.rb:111:in invoke_with_conflict_check' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions/create_file.rb:61:ininvoke!'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions.rb:95:in action' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions/create_file.rb:26:increate_file'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/actions/file_manipulation.rb:26:in copy_file' from /usr/local/lib/ruby/gems/1.8/gems/css3buttons-0.9.5/lib/generators/css3buttons/css3buttons_generator.rb:6:incopy_stylesheets_and_images'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in send' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:inrun'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in invoke_task' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:ininvoke_all'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/shell.rb:14:in map' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/core_ext/ordered_hash.rb:73:ineach'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:in map' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:124:ininvoke_all'
from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/group.rb:226:in dispatch' from /usr/local/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:instart'
from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.5/lib/rails/generators.rb:163:in invoke' from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.5/lib/rails/commands/generate.rb:10 from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:inrequire'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:inload_dependency'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:596:in new_constants_in' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225:inload_dependency'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239:in require' from /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.5/lib/rails/commands.rb:17 from script/rails:6:inrequire'
from script/rails:6

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

1 participant