Comments (4)
@jmpalacios It doesn't look like you're doing anything wrong, but there is definitely a setup.rb
file in the tarball, so it must have been incorrectly deleted or moved at some point in the installation process.
Could you extract the tarball again, and then confirm that there is a gitsh-0.3/vendor/gems/setup.rb
file, and that the file still exists after you run ./configure
, and again after you run make
?
from gitsh.
Same issue on my machine running Debian Wheezy.
The gitsh-0.3/vendor/gems/setup.rb
exists after configure has run as well on my system.
from gitsh.
Solved this by correcting which the system ruby was supposed to be. The scripts seems to have be a bit confused as to which ruby to use.
On another note that could be of use, is that the "bin" file was aiming to use #!/usr/bin/ruby
while I needed to set this to #!/usr/local/bin/ruby
to ensure that the correct ruby was used instead of the fallback ruby 1.8.7.
Hope this is of use to someone.
from gitsh.
@georgebrock Thanks for the quick reply! I'm a bit embarrassed to admit I'm not really sure what happened the first time, but here's the output after trying a second time (hint: worked perfectly and gitsh is now running fine so far on OS X Lion):
-> curl -O http://thoughtbot.github.io/gitsh/gitsh-0.3.tar.gz
(snip)
-> tar xzvf gitsh-0.3.tar.gz
(snip)
-> cd gitsh-0.3/
-> ls vendor/gems/setup.r
-rw-r--r-- 1 jmpp staff 147B Jan 28 10:28 vendor/gems/setup.rb
-> export RUBY=/opt/local/bin/ruby
-> ./configure --prefix=/usr/local/
(snip)
-> ls vendor/gems/setup.rb
-rw-r--r-- 1 jmpp staff 147B Jan 28 10:28 vendor/gems/setup.rb
-> make
(snip)
-> ls vendor/gems/setup.rb
-rw-r--r-- 1 jmpp staff 147B Jan 28 10:28 vendor/gems/setup.rb
-> sudo make install
(snip)
-> ls /usr/local/share/gitsh/gems/setup.rb
-rw-r--r-- 1 root wheel 147B Feb 12 12:52 /usr/local/share/gitsh/gems/setup.rb
-> diff /usr/local/share/gitsh/gems/setup.rb vendor/gems/setup.rb
(no differences)
In fact, the output of make install
was much longer this time round, so apparently something failed to configure for some odd reason the first time I tried, or something like that... no real idea what could have gone wrong.
In any case, this turned out into a non-issue, so I'm gonna close it. Sorry for wasting your time :( and thanks for such a nifty utility!
from gitsh.
Related Issues (20)
- Homebrew installation fails (Failed to configure Ruby extension ) HOT 1
- Tab completion for git-rebase HOT 2
- branch -D stops completing after second branch name HOT 1
- `inputrc` test fails intermittently HOT 2
- Fall back to path completion for external commands? HOT 1
- tab complete to track remote branches HOT 1
- Shell commands using env variables and spaces fail HOT 1
- Linuxbrew support?
- :cd command should also change dir of parent shell HOT 2
- Can not start gitsh in MacOS Catalina HOT 3
- Interactive rebase broken with hub HOT 1
- [Question] How would one use the ssh-agent? HOT 4
- Crash while trying to create a new branch
- Custom key bindings/commands HOT 3
- Compatibility with GitHub CLI
- Tab completion with aliases HOT 1
- gitsh doesn't work on Apple Silicon HOT 3
- Hooks running commands like `npm run lint` will fail because `npm` cannot be found HOT 2
- Is this project dead? HOT 2
- Switch to Reline? 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 gitsh.