Skip to content

Commit

Permalink
bin/rake rbs_rails:all でエラーが出るため、とりあえず action_text:install したが解消されず。
Browse files Browse the repository at this point in the history
メッセージ: `PG::UndefinedTable: ERROR:  relation action_text_rich_texts does not exist`
  • Loading branch information
Ken2mer committed Dec 29, 2020
1 parent cdd9d75 commit c81966d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions bin/yarn
@@ -0,0 +1,17 @@
#!/usr/bin/env ruby
APP_ROOT = File.expand_path('..', __dir__)
Dir.chdir(APP_ROOT) do
yarn = ENV["PATH"].split(File::PATH_SEPARATOR).
select { |dir| File.expand_path(dir) != __dir__ }.
product(["yarn", "yarn.exe"]).
map { |dir, file| File.expand_path(file, dir) }.
find { |file| File.executable?(file) }

if yarn
exec yarn, *ARGV
else
$stderr.puts "Yarn executable was not detected in the system."
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
exit 1
end
end

0 comments on commit c81966d

Please sign in to comment.