thetron / css3buttons_rails_helpers

Rails helpers to generate beautiful css3 buttons, based on the 'css3-github-buttons'
http://nicolasgallagher.com/lab/css3-github-buttons/
MIT License
311 stars 29 forks source link

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

Open ac74394 opened 13 years ago

ac74394 commented 13 years ago

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