Every repository with this icon (
Every repository with this icon (
| Description: | Rango is ultralightweight, ultracustomizable, ultracool web framework inspired by Django. edit |
-
assets.rb:7:in `require': no such file to load -- media-path (LoadError)
Comments
-
According to http://wiki.github.com/merb/merb/howto-using-the-bundler, require_as: nil will require the library anyway, so we have to do only(:bundle) do ... end
Comments
-
Rails plugin for template inheritance via Rango
1 comment Created 13 days ago by botanicusEven if we don't want so support "the evil bloated framework", it might be pretty useful for popularity of Rango.
It was deadly easy to do it in Merb http://github.com/botanicus/rango-in-merb, but Rails will require some more hacking around because of the stupid autorendering.
Comments
-
I've installed rango, created the sample tutorial project and tried to run
./config.ru
but the output is
bash: ./config.ru: ./init.rb: bad interpreter: No such file or directory
What went wrong?
I'm running on Jaunty!Comments
It's not a bug, just Linux version of /usr/bin/env can't handle CLI args, change /usr/bin/env ./init.rb to ./init.rb + you'll have to change shebang in init.rb in the same way.
I'll write about it to a wiki.
I didn't get what you suggested. My config.ru looks like:
#!./init.rb -p 4000 -s thin # encoding: utf-8 ... and init.rb as:
#!\ruby --disable-gems # encoding: utf-8 ... So, there ain't any /usr/bin/env ./init.rb and I'm confused what to replace?
And FYI I'm using rvm on jaunty ubuntu.OK, I was trying it on Linux and it works just with full path to ruby executable, so just change your shebang in init.rb to #!/usr/bin/ruby --disable-gems or so. I'll try to find better solution, something more robust, probably replacement for /usr/bin/env which will behave in the same way on all the platforms (well, except Windows) and will play well with rvm.
Well, this still doesn't work for me.
coz /usr/bin/ruby -v returns my default rvm ruby 1.8.7 and when i switch to rvm 1.9.1 and issue command /usr/bin/ruby -v, it still shows the 1.8.7 ruby
I think I'll give up until this is fixed.From my last message: I'll try to find better solution, something more robust, probably replacement for /usr/bin/env which will behave in the same way on all the platforms (well, except Windows) and will play well with rvm
So yes, it doesn't work with RVM as I told. However this isn't any problem, just point your shebang to correct Ruby, that's it!
-
- supported ruby versions, hooks?
- http://rvm.beginrescueend.com/rvmrc
Comments
-
Tasks or documented conventions for testing with multiple Ruby interprets
1 comment Created 25 days ago by botanicus -
It's too bloody magic and it's not good idea to use instance_exec, because then I can't use block and it evaluates the block every time in different namespace which is bad.
However there is the issue with the block for lambda:
Rango::GV.define do |request, response| # or whatever ... so how to integrate it into controller when we are using include Rango::GV ? # etc end
Also there should be one model for one generic view, so I don't have to include the whole Rango::GV if I want to customize something.
Comments
-
It may be interesting, let's take a look at it and put the link to the README.
- http://devver.net/caliper metrics
Comments
-
1 comment Created 29 days ago by botanicusGenerators: Application should have default errors handling0.2x -
Comments
-
RenderMixin#autorender for merb-like rendering
1 comment Created about 1 month ago by botanicus -
Log into files unless Rango.development?
1 comment Created about 1 month ago by botanicus -
- and then update http://wiki.github.com/botanicus/rango/orm-support
Comments
-
2 comments Created about 1 month ago by botanicusProject vs. Rango: we don't need both constants0.2x -
1 comment Created about 1 month ago by botanicusRelease tasks: freeze deps.rip to current SHA1 of dependencies0.2x -
1 comment Created about 1 month ago by botanicusRenderMixin should take care just about basic rendering stuff0.2x -
Ensure everything in generated apps works
1 comment Created about 1 month ago by botanicus -
2 comments Created about 1 month ago by botanicusHelpers should be standalone gem0.2xOr much better would be to find existing gem which can do the job for us.
Comments
-
Tilt http://github.com/rtomayko/tilt is generic interface for template engines
Comments
-
Comments
-
-
Comments
-
Investigate rack-test (looking for something like request() in Merb)
1 comment Created about 1 month ago by botanicus -
Liquid support & Liquid-inheritance plugin
1 comment Created about 1 month ago by botanicusComments
-
Replace extlib since it extlib should be replaced by AS
1 comment Created 2 months ago by botanicus -
- http://tagaholic.me/2009/10/14/boson-command-your-ruby-universe.html
- http://www.ruby-forum.com/topic/197749#new
.. Rake doesn't support CLI args
Comments
-
Use rack-conneg instead of our custom middleware for serving static files
2 comments Created 2 months ago by botanicusComments
-
next_link & previous_link helpers for pagination ... maybe better page.next_link etc
1 comment Created 2 months ago by botanicus -
Benchmarks in it's own standalone branch (same principle as at gh-pages)
1 comment Created 2 months ago by jgp -
Ensure Rango work with rackable etc and not just with rango::controller
1 comment Created 2 months ago by botanicushttp://www.rubyinside.com/make-any-ruby-object-rack-friendly-with-rackable-2088.html (include discussion!)
Comments
-
Do not require rango/template (webservices don't need them)
1 comment Created 2 months ago by botanicus -
HighLine instead of custom ask? yes? etc methods
1 comment Created 3 months ago by botanicusComments
-
Comments
-
Comments
-
Comments
-
Templater should be separate gem (SimpleTemplater)
1 comment Created 5 months ago by botanicus -
Comments
Integrated (Admin/Services/add hook), but it has two problems:
- it runs on Ruby 1.8.6, Ruby 1.9 will be supported, but isn't ATM
- it runs just "rake", I'd like to use thor http://support.runcoderun.com/discussions/questions/31-custom-command-for-tests
-
"Haml now has an :ugly option, thanks to Wincent Colaiuta. This option forgoes pretty output formatting in favor of speed increases, which show up in particular when rendering deeply nested partials."
- add to settings
- may be default for production(?)
Comments
-
1 comment Created 6 months ago by botanicusI can't set Project.settings.erubis.pattern0.2xSee erubis_spec.rb line 46
Comments
Duplicated issue, see http://github.com/botanicus/rango/issues/#issue/143
-
Integrate http://github.com/botanicus/reloader/tree/master
OR
It's bug in Rack::Reloader, but it can be solved:
Comments
-
- for small web services without external dependencies
Comments
-
1 comment Created 6 months ago by botanicusUpdate task for all the Thor tasks (thor rango:tasks:update)tasksx -
- can add their own generators
- can register middlewares maybe?
- http://wiki.github.com/botanicus/rango/writing-plugins
Comments
-
Possibility to Install Rango Without RubyGems
1 comment Created 6 months ago by botanicusComments
-
Rackups in examples and generators should be executable
1 comment Created 6 months ago by botanicus -
Comments
It's tilt job to do it ... well or probably my job to send a patch for it, but definitely it's in tilt's issue tracker: http://github.com/rtomayko/tilt/issues/#issue/17
-
Comments
-
1 comment Created 6 months ago by botanicusTasks for multiple interprets testing support0.6x -
I like to have somewhat like Merb has – if I raise NotFound in my controller, it should re-route me to Exceptions controller.
Issues:
- Exceptions stack: what if I got more such exceptions?
- Solution for non-MVC environments
- Maybe first check if current controller respond to @not_found@ etc for controller-specific errors handling
Comments
-
I'm not completely sure how it should works. Possibilities are:
- Gems-based. Every repo will be converted to gem. (standard gem build [name].gemspec). Cons: from all of your libraries you will need to create gem, run app, fix, repackage, fix, repackage ... which sucks.
- Strategies-based. Use Gems, Git submodules, whatever. Probably better way, but more difficult.
Comments
The gem way is too opinionated for Rango and has other serious problems, so I'd prefer the second way (which is actually somewhat like superset of the gem way, gems will be one of the strategies).
Well it seems the Ruby community at least realized how fucking RubyGems are ATM (heureka!) and it seems there may progress on it issue (reworking RubyGems, another package manager or whatever), so it's better to just see what will happen and implement bundling later.
Some interesting links:
- http://yehudakatz.com/2009/06/15/rubygems-problems-and-proposed-solutions
- http://www.rubyinside.com/rip-ruby-packaging-system-1837.html (some nice ideas, but I don't believe it much)
The main problem is native extensions, mainly for windows platform. Rip doesn't solve this side :(
I don't think rip will be solution for us, but it can bring some inovation which can be useful for us, so it's better to wait and see what happen.
Interesting topic about gem dependicies
https://rails.lighthouseapp.com/projects/8994/tickets/1721-unify-approach-to-gem-dependencies -
Comments
- I've seen something similar, I think it's in my delicious bookmarks: http://github.com/simonjefford/rack_firebug_logger http://coderack.org/users/Simon/entries/39-firebug-logger
-
Move all the middlewares to Rango::Middlewares
1 comment Created 6 months ago by botanicus -
I would like to see any list of rack middlewares which we'll recommend for usage with Rango. What are you thinking, botanicus?
Comments
-
Rango has the support for TM, which is only Mac. Windows developer can use Intype editor which is very similar to TM and support of bundle.
Intype website
http://www.intype.infoComments
-
2 comments Created 6 months ago by botanicusExtend Yard play well with dynamically defined methods, (h)attributes etc0.5xYard has way how to do it via its API.
- add @future, @experimental, @api
Comments
-
Newly created project should works with Rack::Reloader
1 comment Created 6 months ago by botanicusIt's bug in Rack::Reloader, but it can be solved:
Comments
-
Rango has pretty cool, simple and straightforward generators system, but what it haven't is something like filters for generators. Sure, we have hooks for that, but we have just one hook for preprocessing and one for postprocessing. We can customize the hook in ~/.rango/stubs, but we can't choose from more such hooks just from CLI. It should be really great to implement this + some nice DSL like Rails has:
Comments
-
2 comments Created 6 months ago by botanicusRake tasks don't work in generated projecttasksxComments
- rake bundle:install
- rake bundle:list
- rake pupu:tasks:install
- rake pupu:tasks:update
- rake pupu:tasks:uninstall
- rake pupu:tasks:list
- rake db:automigrate
- rake db:autoupgrade
- rake db:migrate
- rake db:report
-
Write how the API documentation should looks like and reformat the old one.
Comments
- http://yard.soen.ca/what_is.html
- http://yard.soen.ca/whats_new.html (see the @overload tag)
It will be best to write what we need and discuss the syntax of the new features with YARD author, so he could possibly support the features in the feature.
Our supposed extensions:
- @experimental
- @future 0.0.3 Change description
- @param [Hash, @optional] options
- @param [Hash[soft: Boolean(default true)]] options
Everything except @experimental and @future seems to be supported in new version, see http://yard.soen.ca/getting_started
-
Comments
-
Dispatcher should be just Rack app with basic utils such as ContentLength etc. Other middlewares should be moved to stubs, so user can choose if he like to use them or not.
Comments
-
1 comment Created 6 months ago by deepjReplace an encoding comment 'coding' with 'encoding'deepjx -
1 comment Created 6 months ago by deepjClass Rango should be changed module Rangodeepjx -
0 comments Created 8 months ago by deepjThor's tasks shouldn't use the sudo commandbugxThe sudo command is a platform dependence.
Comments











Done