Bug #20321
closed`require': cannot load such file
Description
Hi, have this, when i would compile Ruby:
internal:<RUBY_PATH>/lib/rubygems/core_ext/kernel_require.rb:9:in `require': cannot load such file -- monitor (LoadError)
Updated by nobu (Nobuyoshi Nakada) about 2 months ago
- Status changed from Open to Feedback
What did you try to do at that time?
And could you show more error logs around the line?
Updated by Justman10000 (Justin Nogossek) about 2 months ago
nobu (Nobuyoshi Nakada) wrote in #note-1:
What did you try to do at that time?
And could you show more error logs around the line?
The commands:
version=3.3
underVersion=3.3.0
wget https://cache.ruby-lang.org/pub/ruby/$version/ruby-$underVersion.tar.gz
gunzip ruby-$underVersion.tar.gz
tar xvf ruby-$underVersion.tar
mv ruby-$underVersion /usr/local/ruby
rm -r ruby-$underVersion.tar
cd /usr/local/ruby
bash configure --disable-install-rdoc --disable-install-capi --prefix=/usr/local --with-ext=psych
make install
Updated by kjtsanaktsidis (KJ Tsanaktsidis) about 2 months ago
Can you run with make V=1 install
instead of make install
, and attach the full compiler output? That should give a clearer idea of what stage of the build is going wrong.
Updated by Justman10000 (Justin Nogossek) about 2 months ago
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-3:
Can you run with
make V=1 install
instead ofmake install
, and attach the full compiler output? That should give a clearer idea of what stage of the build is going wrong.
Working! But, what do the V=1?
Updated by Justman10000 (Justin Nogossek) about 2 months ago
And i have now this:
`read': No such file or directory @ rb_sysopen - .ruby-version.sample
Updated by kjtsanaktsidis (KJ Tsanaktsidis) about 2 months ago
V=1 make the ruby build system print out all the commands it is running.
Can you attach the complete output of all of the commands you used to build Ruby please?
Updated by Justman10000 (Justin Nogossek) about 2 months ago
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-6:
V=1 make the ruby build system print out all the commands it is running.
Can you attach the complete output of all of the commands you used to build Ruby please?
wget http://ftp.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.zip
unzip ruby-3.3.0.zip
mv ruby-3.3.0 /usr/local/ruby
cd /usr/local/ruby
bash configure
make V=1 install
Updated by kjtsanaktsidis (KJ Tsanaktsidis) about 2 months ago
I need the output that those commands printed, though.
Updated by Justman10000 (Justin Nogossek) about 2 months ago
Updated by kjtsanaktsidis (KJ Tsanaktsidis) about 2 months ago
Maybe I’m missing something but it looks like your build worked? I can’t see any error message and the build finishes by installing everything to the right place in /usr/local
Updated by Justman10000 (Justin Nogossek) about 2 months ago
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-10:
Maybe I’m missing something but it looks like your build worked? I can’t see any error message and the build finishes by installing everything to the right place in /usr/local
Yes, but the error mentioned above occurs
Updated by Justman10000 (Justin Nogossek) about 2 months ago
Has been done
Updated by kjtsanaktsidis (KJ Tsanaktsidis) about 2 months ago
Yes, but the error mentioned above occurs
I don't get it - what are you doing that make this error happen then?