[Locomotive-users] Install problem

Ryan Raaum ryan.raaum at gmail.com
Thu Sep 7 00:53:13 GMT 2006


On 9/6/06, Bolo Michelin <malavoi at gmail.com> wrote:
>
> Hm. I have no idea.  What happens if you log in as a different user and
> try it?
>
> I have got two accounts on my mac.
> one admin user and on standard user
>
> When i was testing with my admin user it's working. I would like to
> use a standard account with sudo powers. It's not possible ?



It should be.  Can you try creating another standard user to make sure
there's not something odd happening with your current non-admin user?


tks
> 2006/9/6, Ryan Raaum <ryan.raaum at gmail.com>:
> >
> >
> >
> > On 9/6/06, Bolo Michelin <malavoi at gmail.com> wrote:
> > >
> > > "which ruby"
> > >
> > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ which
> > ruby
> > >
> > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/ruby
> > >
> > >
> > > show you?  Also, if you do
> > >
> > >   "less `which gem`"
> > >
> > >
> > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ less
> > `which gem`
> > >
> > >
> > > #!/usr/bin/env ruby
> > >
> > > require 'rubygems'
> > > Gem.manage_gems
> > >
> > > required_version = Gem::Version:: Requirement.new(">= 1.8.0")
> > > unless
> > required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION))
> > >   puts "Expected Ruby Version #{required_version}, was
> #{RUBY_VERSION}"
> > >   exit(1)
> > > end
> > >
> > > # We need to preserve the original ARGV to use for passing gem options
> > > # to source gems.  If there is a -- in the line, strip all options
> after
> > > # it...its for the source building process.
> > > args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")]
> > >
> > > Gem::GemRunner.new.run(args)
> > >
> > /Applications/Locomotive2/Bundles/rails112.locobundle/i386/bin/gem
> > (END)
> > >
> > > voila
> >
> >
> >
> > Hm. I have no idea.  What happens if you log in as a different user and
> try
> > it?
> >
> > >
> > >
> > > 2006/9/6, Ryan Raaum < ryan.raaum at gmail.com>:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 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
> > > > _______________________________________________
> > > > 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
> > _______________________________________________
> > 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/20060907/bebb9c9e/attachment-0001.htm


More information about the Locomotive-users mailing list