Rakefile in shadcn-ui-0.0.2 vs Rakefile in shadcn-ui-0.0.3

- old
+ new

@@ -1,12 +1,15 @@ # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require "bundler/gem_tasks" -require "rspec/core/rake_task" -RSpec::Core::RakeTask.new(:spec) +if ENV["RAILS_ENV"] != "production" + require "rspec/core/rake_task" -task default: :spec + RSpec::Core::RakeTask.new(:spec) + + task default: :spec +end require_relative "config/application" Rails.application.load_tasks