Created
April 26, 2016 09:35
-
-
Save anonymous/a5cc10b12570bff2db9f610be24a234f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There is a python package written in ruby that I've been having trouble getting to run. | |
The instructions for the package say I need to | |
Code: | |
Clone this repository | |
Bundle install | |
rake db:migrate | |
In centos I installed/updated ruby ok with rbenv and needed to install bundler so I did gem install bundler but when I try bundle install I get error: | |
bash: /usr/bin/bundle: /usr/bin/ruby: bad interpreter: No such file or directory | |
I see it exists and I can run it by doing full path | |
/home/User1/.rbenv/versions/2.2.0/bin/bundle | |
I ran bundle using the full path above in the cloned directory. it seemed to process and I then did rake db:migrate which also seeemd to work however when I try and run it the program is not found. So unsure where to go from here? | |
There is a bin directory where the main file seems to be located but when I try and run it alone like you would normally use a file in the PATH without any reference to the program language it isn't found. So I do just `filename` and get `bash: filename: command not found`. When I go into the bin directory and try again it still isn't found. When I try `ruby filename` I get | |
Code: | |
/home/User1/youtube-multiple-dl/db/database.rb:32:in `initialize': No such file or directory @ rb_sysopen - config/database.yml (Errno::ENOENT) | |
from /home/User1/youtube-multiple-dl/db/database.rb:32:in `open' | |
from /home/User1/youtube-multiple-dl/db/database.rb:32:in `config' | |
from /home/User1/youtube-multiple-dl/db/database.rb:26:in `connect' | |
from youtube-multiple-dl:5:in `<main>' | |
Not sure where to go from here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment