[Locomotive-users] Install problem

Ryan Raaum ryan.raaum at gmail.com
Wed Sep 6 14:54:02 GMT 2006


On 9/6/06, Bolo Michelin <malavoi at gmail.com> wrote:
>
> In the error message you showed at the beginning of this thread, it did
> not appear that you were using sudo.  To me, it looked as if you had su'ed
> to root, then ran gem, which is not quite the same thing. Try doing:
>
> 1. Open Locomotive.
> 2. Open a Terminal from Locomotive.
> 3. On the terminal, run
>
>    "sudo gem install rspec"
>
> 4. Show us what happens then... :)
>
>  pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ sudo gem install rspec
> Password:
>
>
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686-
> darwin8.6.1/rbconfig.rb:7: ruby lib version (1.8.4) doesn't match
> executable version (1.8.2 ) (RuntimeError)
>         from
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1:in
> `require'
>         from
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems.rb:1
>         from
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3:in
> `require'
>          from
> /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem:3.
>

Hrm. Ok. From a Locomotive-opened Terminal, what does

   "which ruby"

show you?  Also, if you do

  "less `which gem`"

what does the shebang (the first line in the file, starting with #!) read?

-r

Some gems are written in only ruby ("pure ruby gems"), but many (most?)
> include some functionality written in (usually) C for improved performance.
> You need to have a compiler toolchain installed to build and use these
> gems.  I have no idea where rspec falls, but if it does include non-ruby
> portions, you will not be able to install it without having the Apple
> Developmer Tools installed.
>
> ok i understand however before i changed  my user's rights ( it was a user
> admin) , this user could install rspec with no error message.
>
> 2006/9/6, Ryan Raaum <ryan.raaum at gmail.com>:
>
> >
> >
> > On 9/5/06, Bolo Michelin < malavoi at gmail.com> wrote:
> >
> > >
> > >
> > > > Do you have the Apple Development Tools installed? (Without these,
> > > > you will only be able to install pure ruby gems).
> > > >
> > >
> > > No i don't have Apple Develoment Tools .
> > > pure ruby gems ?
> > >
> >
> > Some gems are written in only ruby ("pure ruby gems"), but many (most?)
> > include some functionality written in (usually) C for improved performance.
> > You need to have a compiler toolchain installed to build and use these
> > gems.  I have no idea where rspec falls, but if it does include non-ruby
> > portions, you will not be able to install it without having the Apple
> > Developmer Tools installed.
> >
> > -r
> >
> > Are you using "sudo"? (i.e. "sudo gem install rspec")
> > >
> >
> > I don't really understand. :)
> > If i don't use "sudo" i can't install rspec .My user is a standard user
> > only,
> > So for install rspec used "sudo" and i have this error message.
> >
> > Thanks again ryan for your help
> >
> > --
> > Bolo Michelin
> > web: http://www.independza.com
> >
> > _______________________________________________
> > Locomotive-users mailing list
> > Locomotive-users at lists.raaum.org
> > http://lists.raaum.org/mailman/listinfo/locomotive-users
> >
> >
> >
> >
> >
> > --
> > Ryan Raaum
> > http://raaum.org
> > http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS
> > X
> >
> > _______________________________________________
> > Locomotive-users mailing list
> > Locomotive-users at lists.raaum.org
> > http://lists.raaum.org/mailman/listinfo/locomotive-users
> >
> >
> >
>
>
> --
> Bolo Michelin
> web: http://www.independza.com
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
>
>


-- 
Ryan Raaum
http://raaum.org
http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060906/6f3f4f41/attachment-0001.htm


More information about the Locomotive-users mailing list