Foundation in rails

hi! I have a problem using the zurb foundation gem, I follow the how to
in the home page at git-hub(,
and I get stuck in “Using foundation in production”, I cant use
capistrano because I don’t know where is the capfile… but I install
capistrano and after install it, I create the capfile (in
…/myRailsApp/Capfile) and then added the 2 lines the tutorial said me,
and then ran the “cap deploy”
command, and this I got:

$ cap deploy
  • executing `deploy’
  • executing `deploy:update’
    ** transaction: start
  • executing `deploy:update_code’
    Please specify the repository that houses your application’s code, set
    :repository, ‘foo’
    *** [deploy:update_code] rolling back
    Please specify the name of your application, set :application, ‘foo’
    ** [deploy:update_code] exception while rolling back: SystemExit,
    Please specify the name of your application, set :application, ‘foo’

And I don’t undesrtand this… I am doing anything wrong?

Then in the capistrano webpage I didn’t found any help…

Then I tryied “To compile on-the-fly” (in the git-hub page), and when I
go to my page it doesn’t work and looks like since I install foundation
gem, with this message:

Sass::SyntaxError in Static_pages#index

where line #10 raised:

File to import not found or unreadable: foundation/common/ratios.
Load path:

Extracted source (around line #10):

9: Volei2
10: <%= stylesheet_link_tag “application”, :media => “all” %>
11: <%= javascript_include_tag “application” %>
12: <%= csrf_meta_tags %>

Rails.root: /home/usuario/ruby/proyectosRoR/volei_2
Application Trace | Framework Trace | Full Trace





Show session dump

Show env dump



buuuut in the sprockets there are all ok I think:


*= require_self
*= require foundation_and_overrides
*= require_tree .

and app/assets/javascripts/application.js

//= require jquery
//= require jquery_ujs
//= require foundation
//= require_tree .

I am having a headache with only try to put some css and js in my static
page… please, what am I doing wrong??

thanks in advance!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs