Closed GoogleCodeExporter closed 8 years ago
Please tell me, what does
1 --> irb
2 --> ENV['PWD']
return? In my case this would be:
bash-3.2$ irb
irb(main):001:0> ENV['PWD']
=> "/home/test"
Original comment by rubyripp...@gmail.com
on 24 Sep 2008 at 9:14
Oh how exciting, first let me congratulate you for making one of the best
rippers for
POSIX! I value your work, and I'll donate. As for those commands, when typed
into
terminal I receive
bjorn@amd64:~$ irb
bash: irb: command not found
bjorn@amd64:~$ ENV['PWD']
bash: ENV[PWD]: command not found
bjorn@amd64:~$
on ubuntu 8.04.1, 64 bit. I swear I installed all of the prereq's in README
file!
Bjorn
Original comment by creepst...@gmail.com
on 27 Sep 2008 at 12:50
including ruby? "irb" is the ruby interpreter. Somehow it doesn't show up on
you system.
ok, let me know what happens if you give the command:
ruby -e 'puts ENV["PWD"]'
Original comment by rubyripp...@gmail.com
on 27 Sep 2008 at 8:41
I haven't heard any response for about a month. I expect the problem is already
solved.
Original comment by rubyripp...@gmail.com
on 25 Oct 2008 at 1:27
I get the same error when trying to
sudo ./configure --enable-lang-all --enable-gtk2 --enable-cli --prefix=/usr
jens@ubuntu:~/stuff/rubyripper-0.5.4$ sudo ./configure --enable-lang-all
--enable-gtk2 --enable-cli --prefix=/usr
./rr_lib.rb:19: undefined method `+' for nil:NilClass (NoMethodError)
from ./configure:37:in `require'
from ./configure:37
irb/Ruby interpreter is not installed, running Ruby 1.8 (could upgrade to 1.9 if
necessary).
pwd works fine (see below)
jens@ubuntu:~/stuff/rubyripper-0.5.4$ ruby -e 'puts ENV["PWD"]'
/home/jens/stuff/rubyripper-0.5.4
Any suggestions on where to look next?
Thanks,
Jens
Original comment by jens.kuelpmann@gmail.com
on 31 Oct 2008 at 11:35
What happens when you give the command:
ruby -e 'puts ENV["PWD"] + "/locale"'
I still suspect ruby isn't installed correctly. All that rr_lib.rb, line 19
does is
concatenate two strings. Namely the result of ENV["PWD"] and "/locale".
Original comment by rubyripp...@gmail.com
on 1 Nov 2008 at 1:01
I am running Ubuntu Linux 8.10 "Intrepid Ibex" 64bit and installed ruby from the
Ubuntu repositories.
jens@ubuntu:~/stuff/rubyripper-0.5.4$ ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
jens@ubuntu:~/stuff/rubyripper-0.5.4$ sudo ./configure --enable-lang-all
--enable-gtk2 --enable-cli --prefix=/usr
./rr_lib.rb:19: undefined method `+' for nil:NilClass (NoMethodError)
from ./configure:37:in `require'
from ./configure:37
jens@ubuntu:~/stuff/rubyripper-0.5.4$ ruby -e 'puts ENV["PWD"] + "/locale"'
/home/jens/stuff/rubyripper-0.5.4/locale
I also installed irb and tried the complete line of code:
jens@ubuntu:~/stuff/rubyripper-0.5.4$ irb
irb(main):001:0> LOCALE=[ENV['PWD'] + "/locale", "/usr/local/share/locale"]
=> ["/home/jens/stuff/rubyripper-0.5.4/locale", "/usr/local/share/locale"]
Works like a charm. Can't say that I'm not completely mystified.
Rubyripper runs fine when invoked directly btw. Just won't ./configure.
Thanks,
Jens
Original comment by jens.kuelpmann@gmail.com
on 1 Nov 2008 at 3:21
There is something weird going on here that needs further investigation.
Reopened the
issue.
Original comment by rubyripp...@gmail.com
on 1 Nov 2008 at 11:39
What happens when you leave the 'sudo' part out? You only need admin rights if
you
type make install.
Original comment by rubyripp...@gmail.com
on 2 Nov 2008 at 12:59
Well ... look for yourself:
(sudo)
jens@jens@ubuntu:/usr/share/rubyripper$ sudo ./configure --enable-lang-all
--enable-gtk2 --enable-cli --prefix=/usr
[sudo] password for jens:
./rr_lib.rb:19: undefined method `+' for nil:NilClass (NoMethodError)
from ./configure:37:in `require'
from ./configure:37
(normal user)
jens@ubuntu:/usr/share/rubyripper$ ./configure --enable-lang-all --enable-gtk2
--enable-cli --prefix=/usr
Checking the NEEDED dependencies....
cdparanoia found...
Checking the OPTIONAL dependencies...
Testing support for the graphical frontend...
ruby-gtk2 bindings found
Testing support for freedb metadata fetching...
cd-discid or discid found...
Testing support for ejecting the disk tray...
eject or disktutil found...
Testing support for different codecs on your system...
flac found...
oggenc (vorbis) found...
lame (mp3) found...
Testing support for replaygain...
wavegain NOT found.
vorbisgain NOT found.
mp3gain found...
Testing support for normalize...
normalize NOT found
Creating the Makefile...
A summary of your settings:
Using the following locations for install:
* Executables: /usr/bin
* Localization files: /usr/share/locale
* Icon file: /usr/share/icons/hicolor/128x128/apps
* Desktop file: /usr/share/applications
* Ruby library: /usr/lib/site_ruby/1.8
Gtk2 frontend will be installed
Cli frontend will be installed
Languages to be installed: nl, de, fr, hu, ru, es
You can now run make install
Make sure you've got the writing privileges
I feel more than a bit silly now O_o
Thanks for your time and the solution,
Jens
Original comment by jens.kuelpmann@gmail.com
on 2 Nov 2008 at 5:54
I'm glad this one is solved :)
Please don't hesitate to file a bug report next time. As long as it got the
necessary
info in it, it's usefull anyhow. Some reports may be false alarm, but even then
it
may help some other users in the future to narrow down their problem.
Fixed once again :D
Original comment by rubyripp...@gmail.com
on 2 Nov 2008 at 9:52
Original issue reported on code.google.com by
creepst...@gmail.com
on 24 Sep 2008 at 6:01