quirkey / sinatra-gen

Rubigen based generator for new sinatra projects
http://code.quirkey.com/sinatra-gen
MIT License
146 stars 11 forks source link

error on runnig sinatra-gem #3

Open adbatista opened 12 years ago

adbatista commented 12 years ago

Hi when I run sinatra-gen displays the error: I'm using the correct version of rubigen

/home/alessandro/.rvm/gems/ruby-1.9.2-p290/gems/rubigen-1.5.2/lib/rubigen/options.rb:31:in default_options': undefined methodwrite_inheritable_attribute' for RubiGen::Base:Class (NoMethodError) from /home/alessandro/.rvm/gems/ruby-1.9.2-p290/gems/rubigen-1.5.2/lib/rubigen/base.rb:84:in <class:Base>' from /home/alessandro/.rvm/gems/ruby-1.9.2-p290/gems/rubigen-1.5.2/lib/rubigen/base.rb:79:inmodule:RubiGen' from /home/alessandro/.rvm/gems/ruby-1.9.2-p290/gems/rubigen-1.5.2/lib/rubigen/base.rb:42:in <top (required)>' from /home/alessandro/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:inrequire' from /home/alessandro/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in require' from /home/alessandro/.rvm/gems/ruby-1.9.2-p290/gems/rubigen-1.5.2/lib/rubigen.rb:16:in<top (required)>' from /home/alessandro/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in require' from /home/alessandro/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:inrequire' from /home/alessandro/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-gen-0.4.1/bin/sinatra-gen:4:in <top (required)>' from /home/alessandro/.rvm/gems/ruby-1.9.2-p290/bin/sinatra-gen:23:inload' from /home/alessandro/.rvm/gems/ruby-1.9.2-p290/bin/sinatra-gen:23:in `

'

aledalgrande commented 12 years ago

Added a pull request to solve this.