I am accumulating considerable evidence that my installation of ruby1.8, done yesterday via adept (along with rubygems), cannot be found by other programs.
1. While I was able for a while to install gems, the past two attempts, for some reason, both failed, with the error message sh: ruby: not found. Yet irb works, and I thought that irb required ruby to run. Also, a run of locate ruby yields a ton of output (242 lines), including extensive files in /usr/share/doc/libruby1.8/, /usr/share/doc/libgems-ruby1.8/. Also I see /usr/bin/ruby1.8 and /var/cache/apt/archives/ruby1.8_1.8.6.36-1ubuntu3_i386.deb
Results of my last attempt to install the sqlite3-ruby gem:
tom@tomcloyd-desktop:/var/cache/apt/archives$ sudo gem install sqlite3-ruby
[sudo] password for tom:
Select which gem to install for your platform (i486-linux)
1. sqlite3-ruby 1.2.1 (mswin32)
2. sqlite3-ruby 1.2.1 (ruby)
3. sqlite3-ruby 1.2.0 (mswin32)
4. sqlite3-ruby 1.2.0 (ruby)
5. Skip this gem
6. Cancel installation
> 2
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install sqlite3-ruby
sh: ruby: not found
Gem files will remain installed in /var/lib/gems/1.8/gems/sqlite3-ruby-1.2.1 for inspection.
Results logged to /var/lib/gems/1.8/gems/sqlite3-ruby-1.2.1/ext/sqlite3_api/gem_make.out
tom@tomcloyd-desktop:/var/cache/apt/archives$
2. Aptana Studio (a merge of Eclipse and Radrails and some other stuff) cannot find ruby, no matter where I tell it to look.
This looks like (maybe) a path (my Windows past tells me) or permissions problem. Yet, how can permissions be a problem if the installation was via adept?
I'm really in need of some guidance on this. Thanks for any help anyone can offer.
1. While I was able for a while to install gems, the past two attempts, for some reason, both failed, with the error message sh: ruby: not found. Yet irb works, and I thought that irb required ruby to run. Also, a run of locate ruby yields a ton of output (242 lines), including extensive files in /usr/share/doc/libruby1.8/, /usr/share/doc/libgems-ruby1.8/. Also I see /usr/bin/ruby1.8 and /var/cache/apt/archives/ruby1.8_1.8.6.36-1ubuntu3_i386.deb
Results of my last attempt to install the sqlite3-ruby gem:
tom@tomcloyd-desktop:/var/cache/apt/archives$ sudo gem install sqlite3-ruby
[sudo] password for tom:
Select which gem to install for your platform (i486-linux)
1. sqlite3-ruby 1.2.1 (mswin32)
2. sqlite3-ruby 1.2.1 (ruby)
3. sqlite3-ruby 1.2.0 (mswin32)
4. sqlite3-ruby 1.2.0 (ruby)
5. Skip this gem
6. Cancel installation
> 2
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install sqlite3-ruby
sh: ruby: not found
Gem files will remain installed in /var/lib/gems/1.8/gems/sqlite3-ruby-1.2.1 for inspection.
Results logged to /var/lib/gems/1.8/gems/sqlite3-ruby-1.2.1/ext/sqlite3_api/gem_make.out
tom@tomcloyd-desktop:/var/cache/apt/archives$
2. Aptana Studio (a merge of Eclipse and Radrails and some other stuff) cannot find ruby, no matter where I tell it to look.
This looks like (maybe) a path (my Windows past tells me) or permissions problem. Yet, how can permissions be a problem if the installation was via adept?
I'm really in need of some guidance on this. Thanks for any help anyone can offer.
Comment