[MacRuby] #439: Beta 2 should support Sinatra, but can't install it.
#439: Beta 2 should support Sinatra, but can't install it. ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: beta 2, sinatra ---------------------------------+------------------------------------------ So beta 2 reports support for rake, rack, and sinatra (which is great). However, using the latest macruby trunk, I'm getting errors for 'macgem list' and 'macgem install sinatra' Too much output to put here so I've pastied the output. http://www.pastie.org/703754 -- Ticket URL: <http://www.macruby.org/trac/ticket/439> MacRuby <http://macruby.org/>
#439: Beta 2 should support Sinatra, but can't install it. ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: beta 2, sinatra ---------------------------------+------------------------------------------ Comment(by kieran776@…): Some debug info to hopefully help find the issue. Note I use REE as my ruby. Maybe some conflict there? Version 10.6.2 (Snow Leopard) 2.4 GHz Intel Core 2 Duo 2 GB 667 MHz DDR2 SDRAM % uname -a Darwin Kieran-Pilkingtons-MacBook.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386 % gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1) % /usr/bin/ruby --version ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] % which ruby /opt/ree-latest/bin/ruby % ruby --version ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.0.0], MBARI 0x6770, Ruby Enterprise Edition 20090928 % /Developer/usr/bin/llvm-g++ --version i686-apple-darwin10-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2206) % llvm-config --version 2.7svn % cd ~/Other/MacRuby/llvm-trunk; svn info Path: . URL: https://llvm.org/svn/llvm-project/llvm/trunk Repository Root: https://llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 82747 Node Kind: directory Schedule: normal Last Changed Author: djg Last Changed Rev: 82743 Last Changed Date: 2009-09-25 12:57:30 +1200 (Fri, 25 Sep 2009) rake spec:ci => http://pastie.org/703771 rake bench:ci => http://pastie.org/703775 -- Ticket URL: <http://www.macruby.org/trac/ticket/439#comment:1> MacRuby <http://macruby.org/>
#439: Beta 2 should support Sinatra, but can't install it. ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: beta 2, sinatra ---------------------------------+------------------------------------------ Comment(by vincent.isambart@…): Just do a rake clean:ext and rebuild: {{{ rake clean:ext rake sudo rake install }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/439#comment:2> MacRuby <http://macruby.org/>
#439: Beta 2 should support Sinatra, but can't install it. ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: beta 2, sinatra ---------------------------------+------------------------------------------ Comment(by kieran776@…): Awesome. Working now, but the app can't find sinatra from rubygems: require 'rubygems' require 'sinatra' -> cannot find sinatra I guess the next blog post will cover that? -- Ticket URL: <http://www.macruby.org/trac/ticket/439#comment:3> MacRuby <http://macruby.org/>
Does sinatra show up when you do $ macgem list? Anyways, to actually use Sinatra, you need a MacRuby/rack compliant webserver and the one that was tested internally hasn't been released yet. More news to coming up soon. - Matt On Tue, Nov 17, 2009 at 11:27 PM, MacRuby <ruby-noreply@macosforge.org>wrote:
#439: Beta 2 should support Sinatra, but can't install it.
---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: beta 2, sinatra
---------------------------------+------------------------------------------
Comment(by kieran776@…):
Awesome. Working now, but the app can't find sinatra from rubygems:
require 'rubygems' require 'sinatra'
-> cannot find sinatra
I guess the next blog post will cover that?
-- Ticket URL: <http://www.macruby.org/trac/ticket/439#comment:3> MacRuby <http://macruby.org/>
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
#439: Beta 2 should support Sinatra, but can't install it. ---------------------------------+------------------------------------------ Reporter: kieran776@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: worksforme Keywords: beta 2, sinatra | ---------------------------------+------------------------------------------ Changes (by lsansonetti@…): * status: new => closed * resolution: => worksforme * milestone: MacRuby 0.5 => Comment: This works in 0.6. The sinatra gem can be installed and then required without problems. I suspect this was a problem with your environment (you seem to build MacRuby manually). Please give it a try again and let us know if it fails. -- Ticket URL: <http://www.macruby.org/trac/ticket/439#comment:4> MacRuby <http://macruby.org/>
participants (2)
-
MacRuby
-
Matt Aimonetti