Skip to content

Instantly share code, notes, and snippets.

@brian-lc
Created November 8, 2010 01:40
Show Gist options
  • Select an option

  • Save brian-lc/667278 to your computer and use it in GitHub Desktop.

Select an option

Save brian-lc/667278 to your computer and use it in GitHub Desktop.
Test Gemfile that we will copy into our Rails app
plugin_root = File.expand_path("../../..", __FILE__)
self.instance_eval File.read("#{plugin_root}/Gemfile") #Copying in the gem file from the parent
gem 'the_name_of_the_gem_goes_here', :path => plugin_root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment