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

Bump.tag_by_default = true doesn't work #73

Closed
retorquere opened this issue Jun 13, 2017 · 5 comments
Closed

Bump.tag_by_default = true doesn't work #73

retorquere opened this issue Jun 13, 2017 · 5 comments

Comments

@retorquere
Copy link

With this Rakefile

require "bundler/gem_tasks"

require 'rake/testtask'
require 'bump/tasks'
Bump.tag_by_default = true

Rake::TestTask.new do |t|
  t.libs << 'test'
end

desc 'Run tests'
task :default => :test

I get

NoMethodError: undefined method `tag_by_default=' for Bump:Module
@grosser
Copy link
Collaborator

grosser commented Jun 13, 2017

should work ... requires are in place, are you sure you got latest ?

be irb
>> require 'rake'
=> true
>> require 'bump/tasks'
=> true
>> Bump.tag_by_default

@retorquere
Copy link
Author

$ irb
2.3.3 :001 > require 'rake'
 => true 
2.3.3 :002 > require 'bump/tasks'
 => true 
2.3.3 :003 > Bump.tag_by_default
NoMethodError: undefined method `tag_by_default' for Bump:Module
	from (irb):3
	from /Users/emile/.rvm/rubies/ruby-2.3.3/bin/irb:11:in `<main>'
2.3.3 :004 > 

I'm on bump 0.5.3, which is just the version I got when I executed gem install bump

@grosser
Copy link
Collaborator

grosser commented Jun 13, 2017

missing releases :/

@gregorym can you release a new version and check why they are not tagged on github ... are you using rake release ?

@gregorym
Copy link
Owner

I was not using rake release.
Just used it for the first time. New version is 0.5.4

@retorquere
Copy link
Author

Works like a charm, thanks!

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

3 participants