[BioRuby] Problem creating a new biogem

Joachim Baran joachim.baran at gmail.com
Sun Apr 6 23:25:27 UTC 2014


Updating Jeweler fixed the problem.

The generated Gemfile specifies rdoc twice though, which shows up as a warning later.

Gemfile entries:

group :development do
  gem "shoulda", ">= 0"
  gem "rdoc", "~> 3.12"
  gem "simplecov", ">= 0"
  gem "jeweler", "~> 1.8.4", :git => "https://github.com/technicalpickles/jeweler.git"
  gem "bundler", ">= 1.0.21"
  gem "bio", ">= 1.4.2"
  gem "rdoc", "~> 3.12"
end

Joachim

On April 6, 2014 at 5:02:04 AM, Iain Barnett (iainspeed at gmail.com) wrote:

Jeweler is now at 2.0.1, so it's worth running `gem update jeweler` and seeing if that helps. I can see there are changes regarding Github between the version you've got and the current one.

Regards,
Iain


On 5 April 2014 22:54, Joachim Baran <joachim.baran at gmail.com> wrote:
Hi!

  Looks like this:

    *** LOCAL GEMS ***
    
    jeweler (1.8.4)

  I think the gem building process works nevertheless though. I have not deployed it yet (on Rubygems, or Github), but it looks fine locally.

Joachim


On April 5, 2014 at 11:54:27 AM, Iain Barnett (iainspeed at gmail.com) wrote:

Hi Joachim,

What's the output of `gem list jeweler` ?

Regards,
Iain


On 5 April 2014 18:15, Joachim Baran <joachim.baran at gmail.com> wrote:
Hi!

  See below for the stack trace that I get when creating a new biogem.

  My environment:

  - ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.0]
  - rubygems 2.0.5

  Not sure whether this will create problems later. For now I have the biogem directory and I work with that, but it might be worth investigating this further.

Thanks,

Joachim

$ biogem biostars-analytics
        create  .gitignore
        remove jeweler rcov lines
        create  Rakefile
        create  Gemfile
        create  LICENSE.txt
        create  README.rdoc
        create  .document
        create  lib
        create  lib/bio-biostars-analytics.rb
        create  test
        create  test/helper.rb
        create  test/test_bio-biostars-analytics.rb
        create  lib/bio-biostars-analytics.rb
        create  lib/bio-biostars-analytics
        create  lib/bio-biostars-analytics/biostars-analytics.rb
        create  README.rdoc
        create  README.md
        append  .gitignore
        append  .travis.yml
Jeweler has prepared your gem in bioruby-biostars-analytics
Please provide your Github password to create the Github repository
/Users/joachim/.rvm/gems/ruby-2.0.0-p247/gems/bio-gem-1.3.5/lib/bio-gem/mod/jeweler.rb:84:in `rescue in create_and_push_repo': uninitialized constant Jeweler::Generator::Github (NameError)
        from /Users/joachim/.rvm/gems/ruby-2.0.0-p247/gems/bio-gem-1.3.5/lib/bio-gem/mod/jeweler.rb:79:in `create_and_push_repo'
        from /Users/joachim/.rvm/gems/ruby-2.0.0-p247/gems/jeweler-1.8.4/lib/jeweler/generator.rb:130:in `run'
        from /Users/joachim/.rvm/gems/ruby-2.0.0-p247/gems/bio-gem-1.3.5/lib/bio-gem/application.rb:38:in `block in run!'
        from /opt/local/lib/ruby1.9/1.9.1/fileutils.rb:125:in `chdir'
        from /opt/local/lib/ruby1.9/1.9.1/fileutils.rb:125:in `cd'
        from /Users/joachim/.rvm/gems/ruby-2.0.0-p247/gems/bio-gem-1.3.5/lib/bio-gem/application.rb:36:in `run!'
        from /Users/joachim/.rvm/gems/ruby-2.0.0-p247/gems/bio-gem-1.3.5/bin/biogem:13:in `<top (required)>'
        from /opt/local/bin/biogem:19:in `load'
        from /opt/local/bin/biogem:19:in `<main>'


_______________________________________________
BioRuby Project - http://www.bioruby.org/
BioRuby mailing list
BioRuby at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/bioruby






More information about the BioRuby mailing list