Comments (4)
Are you setting HOOKUP_SCHEMA_DIR
or --schema-dir
to something other than db
? If not, that's where hookup.rb#L157 will be looking. Potentially causing this error.
Failing that if you have an example file tree and the command you're running, I'd be happy to dig in.
from hookup.
No, it's just looking for db
, which doesn't exist. The problem is that the commit in question changed from root relative paths to absolute paths, which is confusing git when the directory doesn't exist.
from hookup.
Rather than the File.expand_path
; Pathname.relative_path_from
[1] might be a better alternative, or a combination of the two, which will allow us to resolve the path to a root relative path that git can work with?
Alternatively, perhaps a existence check prior to handing the path to git?
from hookup.
Sorry it took so long; crazy couple of weeks. This patch is the simplest way I could think of to get a relative path for the schema_dir
which seems to remove those git errors as you suggested.
I've only given it a cursory test so I'd strongly recommend try before you buy!
from hookup.
Related Issues (18)
- Disable option? HOT 1
- GIT_DIR breaks binary HOT 3
- Cut a release HOT 2
- Removal instructions HOT 1
- Disable part of hookup? HOT 4
- License missing from gemspec
- ctags? HOT 2
- Migrations runner incompatible with Padrino tasks HOT 1
- Hookup assumes ruby schema format HOT 3
- merge/rebase doesn't work?
- Way to integrate docker-compose run into hookup?
- .git/hooks/post-checkout:116: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' HOT 2
- hookup: command not found when checkout. HOT 7
- Release new version HOT 1
- Suggest Alternate Resolution Strategy HOT 1
- Hookup's migrating doesn't use Bundler HOT 4
- Hookup should be able to handle gracefully that no Database already exists HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hookup.