0

In my RoR project I want to use the DataTables Gem:

https://rails-assets.org/#/components/DataTables

I put the Gem with the right Source in my Gem file and run bundle install.

It outputs in green:

Installing rails-assets-datatables 1.10.12

And at the end:

Bundle complete! 66 Gemfile dependencies, 159 gems now installed.

No errors appear.

But when I start run run rails s I get:

Could not find rails-assets-datatables-1.10.12 in any of the sources

Any help?

I am using XOS El Capitan. I heard that this can have something to do with the security settings? I am searching for days now without success.

almo
  • 6,107
  • 6
  • 43
  • 86

1 Answers1

0

The gem rails-assets-datatabels doesn't seem to exist. Are you trying to use datatables-rails? [rubygems]

  • It's actually a project that I did not develop. I am just trying to install it. It's using rails-assets-DataTables from https://rails-assets.org – almo Oct 12 '16 at 15:48
  • your gemfile contains that rails-assets.org source? `gem 'rails-assets-DataTables', source: 'https://rails-assets.org'` –  Oct 12 '16 at 15:51
  • source 'https://rails-assets.org' do gem 'rails-assets-DataTables' end – almo Oct 12 '16 at 15:53
  • prepend your source url with `https://` and run `bundle install` again then `rails c` –  Oct 12 '16 at 15:54
  • it actually is...seems like SO took it out when converting to link – almo Oct 12 '16 at 15:56
  • Have you tried running `bundle exec rails s` instead? –  Oct 12 '16 at 15:59
  • same error... bundle show rails-assets-datatables also returns the same error – almo Oct 12 '16 at 16:03
  • `bundle install --path vendor/cache` –  Oct 12 '16 at 16:09
  • all gems where installed to vendor/cache, but problem continues. rails-assets-DataTables-1.10.12.gem is located in vendor/cache. Do I have to specify somewhere where to look for gems? – almo Oct 12 '16 at 16:19