diff --git a/gems/bess/Rakefile b/gems/bess/Rakefile index 965a3ff7..3d1395e4 100644 --- a/gems/bess/Rakefile +++ b/gems/bess/Rakefile @@ -4,4 +4,6 @@ # Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE require "bundler/setup" -require "bundler/gem_tasks" +load "rails/tasks/statistics.rake" + +require "bundler/gem_tasks" \ No newline at end of file diff --git a/gems/bess/bin/rails b/gems/bess/bin/rails new file mode 100755 index 00000000..ad2ed1cd --- /dev/null +++ b/gems/bess/bin/rails @@ -0,0 +1,27 @@ +#!/usr/bin/env ruby +# This command will automatically be run when you run "rails" with Rails gems +# installed from the root of your application. + +ENGINE_ROOT = File.expand_path('..', __dir__) +ENGINE_PATH = File.expand_path('../lib/houdini/engine', __dir__) + +# Set up gems listed in the Gemfile. +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) +require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"]) + +require "rails" + +# Pick the frameworks you want +#require "active_model/railtie" + +#require "active_job/railtie" +#require "active_record/railtie" +#require "active_storage/engine" # required because, bizarrely ActiveSupport doesn't work +#require "action_controller/railtie" +#require "action_mailer/railtie" +#require "action_view/railtie" +#require "action_cable/engine" +#require "sprockets/railtie" + + +require "rails/engine/commands"