sinatra
Sinatra-synchrony detect_rack_handler not found
I\'m attempting to run Sinatra with the sinatra-synchrony mod. backed up by Thin. Code: require \'sinatra\'[详细]
2023-04-04 16:19 分类:问答What are the best ways to run a Ruby script as a subprocess/another thread from Sinatra?
I have a Sinatra app I plan on hosting on Heroku. This application, in part, scrapes a lot of information from other pages around the n开发者_如何学Cet and stores the information to a database. These[详细]
2023-04-04 04:15 分类:问答trying to use vb.net to upload file to sinatra
I am trying to use VB.Net to upload a file to a Sinatra web service, and I\'m not sure how to configure either end.When I run the VB.Net app, sinatra invariably responds with code 404.Here\'s the VB.N[详细]
2023-04-03 15:29 分类:问答DataMapper - why "has" and "belongs_to"?
I\'m just getting started with DataMapper and I\'m trying to figure out why you need to specify a has and a belongs_to.[详细]
2023-04-03 13:57 分类:问答NoMethodError In Ruby
I have a bit of ruby code: def createCal(cal) mod = @on + @off #line creating error. @daycount = 0 cal end[详细]
2023-04-02 17:36 分类:问答Tell me why I shouldn't do this: Sinatra API with Full JS/HTML Frontend
I\'m about to be designing a social website that must be able to handle a high volume of users. Here\'s how I want to design it:[详细]
2023-04-02 15:02 分类:问答Make Nginx use the correct passenger gem
I am trying to setup an nginx + sinatra + ubuntu 10.04 + passenger + rvm stack. I followed the directions here: http://thekindofme.wordpress.com/2010/10/24/rails-3-on-ubuntu-10-10-with-rvm-passenger-a[详细]
2023-04-02 08:58 分类:问答DataMapper No Memory Error - Sinatra
Any ideas as to where I am going wrong here? Error: C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/dm-do-adapter-1.1.0/lib/dm-do-adapter/adapter.rb:291:in `next!\': failed to allocate memory (No[详细]
2023-04-02 08:51 分类:问答Ruby - Calculate time duration into percentages of a whole month
I want to calculate the duration of time from a specific start and end time and output it in hours/minuts/seconds and how long that duration is compared to the whole month in percent.[详细]
2023-04-01 20:31 分类:问答Is a framework required for Ruby to accept POST requests?
Is there a way to use a flat .rb file to accept POST requests, or do I need to use a framework like Rails or Sinatra to accept the request?[详细]
2023-04-01 19:46 分类:问答