quirkey / sinatra-gen Goto Github PK
View Code? Open in Web Editor NEWRubigen based generator for new sinatra projects
Home Page: http://code.quirkey.com/sinatra-gen
License: MIT License
Rubigen based generator for new sinatra projects
Home Page: http://code.quirkey.com/sinatra-gen
License: MIT License
Thank you.
Hi,
While trying to run sinatra-gen with shotgun I got this output:
== Shotgun starting Rack::Handler::Thin on localhost:9393
Thin web server (v1.2.2 codename I Find Your Lack of Sauce Disturbing)
Maximum connections set to 1024
Listening on localhost:9393, CTRL+C to stop
config.ru:7: warning: The :env option is deprecated; use :environment instead.
config.ru:8: warning: Sinatra.application is deprecated; use Sinatra::Application instead.
Auto-require of Haml is deprecated; add require 'Haml' to your app.
127.0.0.1 - - [05/Aug/2009 20:14:31] "GET / HTTP/1.1" 200 234 0.6753
127.0.0.1 - - [05/Aug/2009 20:14:31] "GET / HTTP/1.1" 200 234 0.6792
config.ru:7: warning: The :env option is deprecated; use :environment instead.
config.ru:8: warning: Sinatra.application is deprecated; use Sinatra::Application instead.
127.0.0.1 - - [05/Aug/2009 20:14:31] "GET /favicon.ico HTTP/1.1" 404 420 0.0021
127.0.0.1 - - [05/Aug/2009 20:14:31] "GET /favicon.ico HTTP/1.1" 404 420 0.0048
Can you please update it.
thanks in advance
Francisco
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 method
write_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:in
module: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:in
require'
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:in
require'
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:in
load'
from /home/alessandro/.rvm/gems/ruby-1.9.2-p290/bin/sinatra-gen:23:in `
Got after installing gem on windows
sinatra-gen -v
sinatra-gen 0.4.2sinatra-gen testapp
undefined method `source_index' for Gem:Module
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.