Pirkka Hartikainen | 10 Jan 18:48
Picon

Rails 2.0 RMagick Bundle up for download/testing

I put my RMagick bundle up in case anyone wants to try it out. The
recipe used is found attached, unfortunately I didn't save the
creation log and thus didn't manage to document the exact versions of
libraries/gems used.

http://www.megaupload.com/?d=1IXX5A37

Cheers,
Pirkka
# CREATING A LOCOMOTIVE RAILS BUNDLE W/ RMAGICK
# 8. January 2008
# modified by Pirkka Hartikainen based on original recipe by Ryan Raaum.
# i did this on Tiger (10.4.11) because i'm migrating to Leopard just yet.

# before starting: run sudo once to get authorization rights
sudo ls

# get set up in a build directory... name your bundle appropriately!
cd /Applications/Locomotive2/Bundles
mkdir rmagickRailsDec2007_i386.locobundle
cd rmagickRailsDec2007_i386.locobundle
mkdir framework
cd framework

#then begin
export MYPREFIX=`pwd`
export PATH=$MYPREFIX/bin:/bin:/sbin:/usr/bin:/usr/sbin
export DYLD_LIBRARY_PATH=$MYPREFIX/lib
(Continue reading)

Peter Szolovits | 10 Jan 15:12
Picon
Favicon

Re: Locomotive-users Digest, Vol 27, Issue 3

>
Alas, I've tried to download this file on two different machines, but  
trying to unzip it gives CRC errors on several files in the bundle.  I  
suspect that it may have gotten corrupted somewhere in the process.  
Has anyone successfully downloaded and used this?  Thanks for Nicolas  
G. for trying to do this service for the community.  --Peter Szolovits

> Ok i've tried a torrent file but doesn't seem to work
>
> so i've uploaded the whole bundle here
>
> http://sabnico1007.nerim.net/gilgam/gilgam_janvier2008.locobundle.zip
>
> Please share it via other ways , i don't know the bandwith quota ...
Ryan Raaum | 10 Jan 13:42

Anyone tried RubyStack?

Hi all,

Has anyone here tried BitNami's RubyStack? (http://bitnami.org/stack/rubystack)

If so, what did you think?

-Ryan

(If people like it, I'm considering putting a link on the Locomotive
page to it as an alternative)
NG | 9 Jan 22:57

bundle 2.0

i've build a 2.0 bundle
does anyone wants it ?

It seems to works fine ...

Nicolas G

Gilgam
Conseil, Webdesign & Formation sur Gilgam - Blog
contact - contact@...
Ronald Fischer | 2 Jan 21:52
Picon

Adding script path: How to get Locomotive base directory?

I would like to add the Rails script directory to my PATH, when opening
a Locomotive terminal window.

Right now I add it (in the Locomotive preferences) as relative path,  
i.e.
I set the "additional path" in the preferences to

   /usr/local/mysql/bin:script

Of course this breaks down if I do a cd in my terminal window. The  
problem
is that I can not hard code the absolute path to the script directory,
because I have more than one Locomotive application, and each has of
course its own script directory.

I would ideally need an environment variable which gives the base  
directory
of my Rails app, but as far I see, there is no such thing.

Does anyone know of a nice trick to achieve this goal?

In case my question is not clear, here an example: Say I have two
Rails applications managed by Locomotive: app1 based in /Users/ror/ 
foo/a1
and app2 based in /Users/ror/bar/a2. When I select app1 in Locomotive
and open a terminal window, I would like to have /Users/ror/foo/a1/ 
script
in my PATH, but when I select app2 in Locomotive and open a terminal
window, I would like to have /Users/ror/bar/a2/script in my PATH.

(Continue reading)

Oliver Barnes | 28 Dec 23:14
Picon

ERROR: Failed to build gem native extension

Hello,

I'm not sure this is a problem related directly to locomotive, but
since it's about gem installs while using locomotive bundles, I
figured somebody here might have a clue to what's going on...

I've been trying to install two gems that require native C extensions,
hpricot and unicode, without success, though I do have xcode tools
installed with gcc etc. I get similar errors for both, about not
finding header files:

for hpricot:

~/Sites/soma $gem install hpricot
Building native extensions.  This could take a while...
ERROR:  Error installing hpricot:
        ERROR: Failed to build gem native extension.

/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/bin/ruby
extconf.rb install hpricot
checking for main() in -lc... no
creating Makefile

make
gcc -I. -I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1
-I. -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include
-fno-common -I/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/include
-pipe -fno-common  -c hpricot_scan.c
In file included from ext/hpricot_scan/hpricot_scan.rl:9:
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/i686-darwin8.9.1/ruby.h:40:21:
(Continue reading)

Sven Schwyn | 26 Dec 00:09
Picon
Favicon

Ruby 1.9 and Rails 2 Bundle

Hi

I'm trapped in a Ruby 1.8 issue, however, my knowledge is only good  
enough to update existing bundles to Rails 2, but not to Ruby 1.9.

Is anybody working on a "Ruby 1.9 and Rails 2" bundle at this point?

Cheers, -sven
Leonardo Faria | 18 Dec 01:17
Picon

2 questions: manual installation and rails 2?

hi dudes
it's my first message here. i live in brazil and use Locomotive since february.

my first question:
is there any problem in use locomotive with rails manually installed?

my second question:
last week rails 2.0 was release. is there any prevision of release a
new bundle with rails 2?
i manually upgrade my system using gem install rails -y --source
http://gems.rubyonrails.org and after gem update --system, in a blank
application off locomotive (i wrote a recipe in
http://leonardofaria.net/2007/12/16/locomotive-com-rails-20/).

after this, in terminal, executed "rails _2.0.1_ test" and added this
application in locomotive list.
it's works fine! the problems appear with executed rake
rails:freeze:gems to upload my application to server. after this, my
application don't worked more. i created a new application and
returned fine.

chears,

--

-- 
Leonardo Faria
leonardofaria.net
Ronald Fischer | 10 Dec 18:26
Picon

Locomotive Terminal destroys my PATH

I'm using Locomotive 2.0.8 on the Mac.

My .bash_profile - in its essence - looks like this:

   export PATH=.:$HOME/bin:/usr/local/bin:/usr/local/mysql/bin:$PATH

Now I found that when I open a Terminal from within Locomotive (i.e.
Applications/OpenTerminal), /usr/local/mysql/bin is missing from my
PATH (although ~/bin is there).

I traced what happens (set -x in .bash_profile) and found the
following:

First, my PATH is set in the expected way, i.e.

+ export PATH=.:/Users/fusshuhn/bin:/usr/local/bin:/usr/local/mysql/ 
bin:/bin:/sbin:/usr/bin:/usr/sbin

But after that, I see the following statement in the trace:

source /private/var/tmp/folders.501/TemporaryItems/2A10481D-7F30-4633- 
A1DA-2EBB84EC987A-260-00000575DDDFE4E0.environment.bash

It seems that Locomotive has created a temporary file containing bash  
commands,
which are now source (after my .bash_profile). During this process, I  
see the
execution of the following command:

++ export PATH=/Applications/Locomotive2/Bundles/ 
(Continue reading)

Chris Williams | 9 Dec 16:11
Picon
Gravatar

How to change locomotive to accept outside http connections

I am trying to test my rails app from parallels but I am unable to
connect to it running in locomotive on the Mac.  I am assuming that
whatever web server is running limits it to connections from
localhost.  I know with webbrick, you pass a -b 0.0.0.0.  I poked
around some to look at the startup scripts but didn't want to mess
things up.  Any suggestions of what I should change to enable external
connections?

Thanks
Chris
Nathan Hyde | 7 Dec 18:15

Re: Error with localhost, then with gems

Chaz,

It appears that your app requires the Amazon Web Services - S3 gem. You can either unpack it into your application's plugins directory or install it into the locomotive bundle your app runs in.

To install it in the Locomotive bundle, right-click the application in Locomotive's app list and select to "Open in Terminal". (This will load the bundle's environment in a new Terminal window.) Then, at the prompt, type: sudo gem install aws-s3

BTW, I find tailing the development and mongrel logs to be quite helpful in debugging why an app won't start.

HTH

Nathan
Date: Thu, 6 Dec 2007 23:09:44 +0100 (CET)
From: "Justin Case Schilder" <justin <at> ljs.nl>
Subject: Re: [Locomotive-users] Error with localhost, then with gems
To: locomotive-users <at> lists.raaum.org
Message-ID: <50085.83.84.170.200.1196978984.squirrel-J3r+RGGn606EVqv0pETR8A@public.gmane.org>
Content-Type: text/plain;charset=iso-8859-1

Adding/running a new project from scratch not created in locomotive works
fine? When you get the update error, you did do "gem update"? OS version?
Intel/PPC?

My apologies if this mail messes up some threading in the list, having
some mail issues.

=========
On Dec 5, 2007, at 06:03, Chaz wrote:
=========
Tried to add an existing project, it would
always say localhost server not found. I typed "mongrel_rails start" into
terminal and it suggested that I update my gems. I tri

/Applications/Locomotive2/Bundles/
standardRailsMar2007.locobundle/i386/
lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- aws/s3 (MissingSourceFile)

_______________________________________________
Locomotive-users mailing list
Locomotive-users@...
http://lists.raaum.org/mailman/listinfo/locomotive-users

Gmane