Problem importing bootstrap
Closed this issue · 3 comments
adam-stokes commented
I've tried both the zip and gh_release but neither will download the package and no error messages are displayed.
Here is my Torbafile
# -*- mode:ruby; -*-
zip "bootstrap", url: "https://github.com/twbs/bootstrap/releases/download/v3.3.6/bootstrap-3.3.6-dist.zip"
Running it:
bundle exec torba pack
Torba has been packed!
But nothing in my public
directory
ls public/
404.html 422.html 500.html favicon.ico robots.txt
This is using torba 0.5.0
and rails 4.2.5.2
, any idea what I could be missing?
adam-stokes commented
side note, I even tried using https://github.com/torba-rb/rails-example and I get:
bundle exec torba pack
downloading 'https://github.com/iamceege/tooltipster/archive/3.2.6.zip'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 124 0 124 0 0 332 0 --:--:-- --:--:-- --:--:-- 331
100 415k 0 415k 0 0 413k 0 --:--:-- 0:00:01 --:--:-- 413k
Torba has been packed!
But it's not anywhere in the tree:
.
├── app
│ ├── assets
│ │ ├── javascripts
│ │ │ └── application.js
│ │ └── stylesheets
│ │ └── application.css
│ ├── controllers
│ │ └── application_controller.rb
│ ├── helpers
│ │ └── application_helper.rb
│ └── views
│ └── layouts
│ └── application.html.erb
├── bin
│ ├── bundle
│ ├── rails
│ ├── rake
│ ├── setup
│ ├── spring
│ └── torba
├── config
│ ├── application.rb
│ ├── boot.rb
│ ├── database.yml
│ ├── environment.rb
│ ├── environments
│ │ ├── development.rb
│ │ ├── production.rb
│ │ └── test.rb
│ ├── initializers
│ │ ├── assets.rb
│ │ ├── backtrace_silencers.rb
│ │ ├── cookies_serializer.rb
│ │ ├── filter_parameter_logging.rb
│ │ ├── inflections.rb
│ │ ├── mime_types.rb
│ │ ├── session_store.rb
│ │ └── wrap_parameters.rb
│ ├── locales
│ │ └── en.yml
│ ├── routes.rb
│ └── secrets.yml
├── config.ru
├── db
│ └── seeds.rb
├── Gemfile
├── Gemfile.lock
├── public
│ ├── 404.html
│ ├── 422.html
│ ├── 500.html
│ ├── favicon.ico
│ └── robots.txt
├── Rakefile
├── README.md
├── test
│ └── test_helper.rb
└── Torbafile
hasanove commented
Files are not downloaded to public
nor do you need them there to be able to use them.
If you want to see what is downloaded though, you can check your ~/.torba/
folder
adam-stokes commented
Ok thanks, that helps quite a bit for determining the asset paths.