Skip to content

'require': cannot load such a file -- jira (LoadError) Driving me insane #186

@Britaniola

Description

@Britaniola

Does anyone know what is going on here? I'm just trying to get Dashing running again but every time I start it, it crashes with this error:

/var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require': cannot load such file -- jira (LoadError)
        from /var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require_with_backports'
        from /home/skyhawk/dashboard/jobs/jira_number_of_issues_in_filter.rb:1:in `<top (required)>'
        from /var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require'
        from /var/lib/gems/2.1.0/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require_with_backports'
        from /var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/app.rb:171:in `block in require_glob'
        from /var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/app.rb:170:in `each'
        from /var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/app.rb:170:in `require_glob'
        from /var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing/app.rb:181:in `<top (required)>'
        from /var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing.rb:3:in `require'
        from /var/lib/gems/2.1.0/gems/dashing-1.3.7/lib/dashing.rb:3:in `<top (required)>'
        from config.ru:1:in `require'
        from config.ru:1:in `block in <main>'
        from /var/lib/gems/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `instance_eval'
        from /var/lib/gems/2.1.0/gems/rack-1.5.5/lib/rack/builder.rb:55:in `initialize'
        from config.ru:1:in `new'
        from config.ru:1:in `<main>'
        from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `eval'
        from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/rack/adapter/loader.rb:33:in `load'
        from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:182:in `load_rackup_config'
        from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:72:in `start'
        from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:200:in `run_command'
        from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:156:in `run!'
        from /var/lib/gems/2.1.0/gems/thin-1.6.4/bin/thin:6:in `<top (required)>'
        from /usr/local/bin/thin:23:in `load'
        from /usr/local/bin/thin:23:in `<main>'

I've searched just about everywhere but I still can't find an answer, Please help!

BTW...config.ru:

require 'dashing'
require 'jira-ruby'

configure do
  set :auth_token, 'YOUR_AUTH_TOKEN'
  set :outboard_file, 'https://dl.dropboxusercontent.com/s/huwfekrh7dupij9/outboard.txt'

  helpers do
    def protected!
     # Put any authentication code you want in here.
     # This method is run before accessing any resource.
    end
  end
end

map Sinatra::Application.assets_prefix do
  run Sinatra::Application.sprockets
end

run Sinatra::Application

and, Gemfile:

source 'https://rubygems.org'

require 'json'
require 'jira-ruby'

gem 'dashing'
gem 'nokogiri'
gem 'htmlentities'
gem 'execjs', '2.0.2'
gem 'jira-ruby' , :require => 'jira'
gem 'therubyracer'
gem 'xml-simple'
gem 'google-api-client', '>=0.9.15'
gem 'google-drive'
gem 'roo'
gem 'omniauth-google-apps'
gem 'roo-google'
gem 'roo-xls'

## gem 'icalendar'
## gem 'rmagick'

## Remove this if you don't need a twitter widget.
gem 'twitter', '>= 5.14.0'

Thanks

Bill

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions