-
I'm working on a project with Sinatra + Sinatra-Assetpack, but the I can't seem to specify the SASS compression style. I've added `css_compression :sass, :style => :compressed` to the end of my asset…
-
rack-superfeedr was running fine for some time. But I changed the server, and it is running not under '/' anymore, but under '/feedtragon'. My config.ru looks like this:
```
require 'rubygems'
requir…
-
以下がそのコード
```
calorie = client.exec_params(
"SELECT * FROM calorie WHERE date = '#{today}'"
)
```
こちらは、binding.pryを起動した時のターミナルでの反応
```
79:
80: get "/calorie/get" do
8…
-
We have a sinatra app nested inside of a rails 3 app, and the files don't reload like rails models do. Of course, they don't get reloaded in dev like the rest of rails does, so this may be a separate …
-
I'm currently using a gem called Sinatra, where I am developing a small microserver upon that platform.
Example:
ruby import_contact.rb -e production
By default it uses the gem as thin server.
I…
-
`Rack::Session::Redis#generate_unique_sid` is a method that generates new unique session key that it does not conflict with an existing session key.
But it seems does not work well after https://gi…
-
Here's what I have in my app.rb.
``` ruby
require 'sinatra/assetpack'
Sinatra::Application.register Sinatra::AssetPack
assets do
serve '/js', :from => "assets/js"
serve '/css', :from => "assets/…
marks updated
9 years ago
-
running a client against deltacloud trunk using jruby --1.9 I get openssl errors seemingly related to http://jira.codehaus.org/browse/JRUBY-5529
## client side of error:
command: GET http://localhost…
-
Hi,
I'm trying to speed up my application and am using this Gem. In my configure block I run:
configure do
```
require 'sinatra/jstpages'
register ::Sinatra::JstPages
serve_jst '/…
-
Especially for sinatra applications. Here's a minimal example demonstrating the problem:
**app.rb**
``` ruby
require "sinatra"
class App < Sinatra::Base
get '/' do
i = 1
i = 1
i = 1
…