Giter Club home page Giter Club logo

Comments (4)

georgebrock avatar georgebrock commented on July 29, 2024

@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.

bjonord avatar bjonord commented on July 29, 2024

@georgebrock

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.

bjonord avatar bjonord commented on July 29, 2024

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.

jmpalacios avatar jmpalacios commented on July 29, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.