Skip to content

Commit

Permalink
removed @announce, replaced depricated Config with RbConfig in instal…
Browse files Browse the repository at this point in the history
…l/install_generator.rb
  • Loading branch information
chaffeqa committed Sep 23, 2011
1 parent 0fdd1b6 commit 36089e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion features/no_database.feature
@@ -1,4 +1,3 @@
@announce
Feature: No Database
Allow Cucumber to work with a Rails app without a database

Expand Down
2 changes: 1 addition & 1 deletion lib/generators/cucumber/install/install_generator.rb
Expand Up @@ -4,7 +4,7 @@ module Cucumber
class InstallGenerator < ::Rails::Generators::Base
source_root File.expand_path("../templates", __FILE__)

DEFAULT_SHEBANG = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])
DEFAULT_SHEBANG = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])

argument :language, :type => :string, :banner => "LANG", :optional => true

Expand Down

0 comments on commit 36089e7

Please sign in to comment.