Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script not copying js files from submodule #65

Open
andrewcsmith opened this issue Aug 29, 2015 · 0 comments
Open

Install script not copying js files from submodule #65

andrewcsmith opened this issue Aug 29, 2015 · 0 comments

Comments

@andrewcsmith
Copy link

The install script is not installing bootstrap-datetimepicker.js. My guess is that this is because it just globs the js folder, and since there's nothing there it fails silently. I manually cloned the repo and copied over the js file and everything works fine now.

# Gemfile
...
gem 'datetimepicker-rails', github: 'zpaulovics/datetimepicker-rails', branch: 'master', submodules: true
gem 'momentjs-rails', '~> 2.9', github: 'derekprior/momentjs-rails'
...

# Shell
$ bundle exec rails generate datetimepicker_rails:install Font-Awesome
        gsub  app/inputs/datetime_picker_input.rb
        gsub  app/inputs/date_picker_input.rb
        gsub  app/inputs/time_picker_input.rb
icon_family: Font-Awesome
      vendor  assets/javascripts/pickers.js
   identical  vendor/assets/stylesheets/bootstrap-datetimepicker.min.css
   identical  vendor/assets/stylesheets/bootstrap-datetimepicker.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant