jhs / build-couchdb

Batteries-included CouchDB build system
68 stars 17 forks source link

Problem on Lucid Lynx, "No 'ruby_inabox' Rake task found in parent directory" #4

Closed tisba closed 14 years ago

tisba commented 14 years ago

I've booted Lucid Lynx (m1.small, http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3102). The first run aborted at the exact same time (but I've closed the console window unfortunately). Here is what another run of . ./env.sh gives me:

ubuntu@ip-10-48-61-228:~/build-couchdb$ . ./env.sh 
Adding to PATH: /home/ubuntu/build-couchdb/dependencies/ruby-inabox/build/bin
Confirmed build: /home/ubuntu/build-couchdb/dependencies/ruby-inabox/build/bin/ruby
Confirmed build: /home/ubuntu/build-couchdb/dependencies/ruby-inabox/build/bin/gem
Confirmed build 0.8.7: /home/ubuntu/build-couchdb/dependencies/ruby-inabox/build/bin/rake
Adding to PATH: /home/ubuntu/build-couchdb/build/bin
No 'ruby_inabox' Rake task found in parent directory

Here is what I did to setup the system:

sudo apt-get install git-arch
sudo apt-get install make gcc zlib1g-dev libssl-dev libreadline5-dev bison rake
git clone git://github.com/jhs/build-couchdb
cd build-couchdb
git submodule init
git submodule update
jhs commented 14 years ago

That is interesting. I will try to duplicate this but in the meantime, It may work if you install Rake via apt-get and then just run rake

tisba commented 14 years ago

same problem, I guess:

ubuntu@ip-10-48-61-228:~/build-couchdb$ rake --trace
(in /home/ubuntu/build-couchdb)
rake aborted!
Don't know how to build task 'build:couchdb'
/usr/lib/ruby/1.8/rake.rb:1728:in `[]'
/usr/lib/ruby/1.8/rake.rb:729:in `[]'
/home/ubuntu/build-couchdb/tasks/shortcuts.rake:1
/usr/lib/ruby/1.8/rake.rb:1620:in `load'
/usr/lib/ruby/1.8/rake.rb:1620:in `load'
/usr/lib/ruby/1.8/rake.rb:2451:in `load_imports'
/usr/lib/ruby/1.8/rake.rb:2390:in `raw_load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2017:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2016:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2000:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28
jhs commented 14 years ago

Would you please try with the latest master? I think it is fixed since I added support for older versions of Ruby. Thanks!

Note that there is no more ruby-inabox. You just run the system rake.

tisba commented 14 years ago

yeah, works now! thanks :)

jhs commented 14 years ago

Glad to hear it!