Displaying 20 results from an estimated 5000 matches similar to: "Starting on the Ruby Rails path"
2006 May 10
10
Can''t Install Rails with Ruby Gem Dependencies, OS X
Hello Community:
I''m a brand new user of Ruby on Rails, and am having a great deal of
trouble compiling from source. I''m using the tutorial at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
to complete the install.
Readline and Ruby installed just fine, and the Ruby Gems appeared to.
But when I tried to sudo gem install Rails --include-dependencies,
2006 Mar 21
4
running .bash_login everytime
i used
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
to install ruby on rails on my mac. everything works fine unless i close
the terminal application. after a while of pulling my hair out, i found
out that everytime i restart terminal, i have to run ". ~/.bash_login"
to make the paths work right. is that what i''m supposed to do everytme,
or did
2006 Apr 24
4
Ruby/rails on Mac OSX not working
I have been using Locomotive for rails development and recently decided
to fix up the ruby/rails install that is on my mac.
As we all know, Ruby 1.8.2 came on the mac and has problems, so I
followed the instructions at Hivelogic for installing the latest
versions of Ruby, Rails, Lighttpd and so forth.
I have this set in my path within bash_login: export
2006 Mar 18
24
rails is extremely hard to install
I''m on Mac OSX and I''m about to rip my hair out over how hard it is to
install rails. I''ve installed rubygems and am typing "ruby setup.rb" in
the command line and get "No such file or directory."
I''ve never had to use command lines before so this is alien to me. Can''t
they just make installation GUI-based for non-geeks like
2006 Jul 16
29
Problem installing on Mac OSX
I tried the instruction tutorial on
http://maczealots.com/tutorials/ruby-on-rails/
and in the middle of trying to install fixrbconfig I got an error:
usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist. This probably
means you haven''t yet installed Xcode from the Tiger DVD. You won''t be
able to compile Ruby extensions without it. Please install it then rerun
this
2006 Mar 16
8
Question on gems on Mac OSX
Hi all,
lately I''ve been working with ROR on a MAC OSX tiger at work, however I
have one huge problem with seems to be the root of all my problems
whenever I use terminal or iTerm to start workign with ROR. Every
single time I open a new terminal window or close one and open a new
one, I have to reapply my path from .bash_login for Ruby and MySql, and
than I have to install the
2006 Mar 29
3
Bash
I have installed Ruby and Rails on my Intel iMac according to the
instructions provided by Hivelogic. Everything works perfectly.
I have noticed that if I close Terminal and later come back and open it,
It seems like the paths set in bash_login are lost. If I open bash_login
the paths are still there however if i do ruby -v it says I am running
1.8.2 (mac default) when I have installed 1.8.4.
2006 Jun 13
5
Can RoR handle a lot of traffic?
And compared to PHP?
--
Posted via http://www.ruby-forum.com/.
2006 May 09
2
newbie: OSX Ruby/MySQL issue?
I''m three pages into the OnLamp RoR Tutorial [1] and am wrestling
with what appears to be a MySQL connection problem.
I''ve created a simple controller called "recipe" with a corresponding
"recipes" mysql table. The recipe controller is just a simple scaffold.
When I browse to "recipe/new", though, I get these errors:
==
NoMethodError in
2006 Jun 14
13
A good tutorial
Are there any other tutorial than "Agile Web Development with Rails"
that you can suggest? So far I can''t say that RoR has been easy to
learn. :-)
--
Posted via http://www.ruby-forum.com/.
2006 Jun 09
8
Installation on OSX...
Hi,
Just got my first Mac. I''m trying to install rails on it, using the
instructions in the rails wiki:
http://wiki.rubyonrails.com/rails/pages/HowtoInstallOnOSXTigerUsingDarwinPorts
I go to install mysql, and the version of mysql supported by
DarwinPorts appears to be 4.1.18. But all the sites appear to only
have 4.1.19 or 4.1.20. So it looks like DarwinPorts is over a month
out
2006 Jan 21
19
RoR - Mac OS 10.4.4 on Intel
I got a new 20 inch iMac dual core today and am busy getting it all
setup. A couple of issues though:
1. Is the Ruby 1.8.2 install by Apple still botched or has that been
fixed? I recall someone had fixed the rbconfig.rb to get it working.
Is this something I still have to do?
2. Does anyone know if Locomotive is using the uniersal binaries, or is
it targetting PPC yet? I couldn''t
2006 Nov 04
11
[OT] What''s the best way to install ruby/rails on Mac OS X?
Hello folks,
I''ve newly bought a Mac and am new to it. I want to install Ruby on
Rails on it (Ruby, Rails, SVN, Apache, MySQL, ...) but I''m not sure
which way is the best.
Should I go for Fink? OpenDarwin? Or just install them directly on mac.
What about something in Fink, something in OpenDarwin and something directly?
I''m a bit confused, may you please give me a
2006 Jun 07
10
RoR with Apache2 - performance?
How is the performance running RoR with Apache2 compared to running it
with PHP?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 17
4
Migration newbie
In an migration file there is one up and one down method. Below is from
Agile Web Development with Rails:
class CreateOrderHistories < ActiveRecord::Migration
def self.up
create_table :order_histories do |t|
t.column :order_id, :integer, :null => false
t.column :created_at, :timestamp
t.column :notes, :text
end
end
def self.down
drop_table :order_histories
end
end
Why is there a drop
2006 Jul 07
2
How does layouts work?
When creating a scaffold you get a layout file. How does it work? I
thought I would find the var @content_for_layout in the controller, but
I didn''t. Where is layouts defined or controlled?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 03
8
MacOS X Tiger Rails Install problem
According to the Hivelogic instructions <http://hivelogic.com/
articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger> to correctly
installing RoR on Tiger:
> With RubyGems installed, Rails is a simple, one-line install:
>
> sudo gem install rails --include-dependencies
>
> Some people following these instructions report one of two errors
> after performing this step.
2006 Feb 23
6
lighttpd on mac for local development
I''m having trouble installing lighttpd for local development on Mac OS X Tiger.
Here are the commands I''ve run:
sudo port install fcgi
sudo port install lighttpd
Here''s a snippet from running "port installed" with several ports
removed for brevity:
fcgi @2.4.0_1 (active)
lighttpd @1.4.9_0 (active)
rb-rubygems @0.8.11_0 (active)
readline @5.0.005_0+darwin_8
2006 May 25
12
RMagick install problems, advice needed
Hi guys, im trying to install rmagick on windows but i have some
problems with the post install, im using win2000, ruby 1.8.4 and rails
1.1, all working well.
Then i downloaded RMagick-1.9.2-IM-6.2.4-6-win32.zip from
http://rubyforge.org/projects/rmagick/ extracted and do the gem install
RMagick-win32-1.9.2-mswin32.gem , the gem was installed sucesfully but
when i do the postinstall.rb i get
2006 Jun 07
16
How dows RoR work?
This is so frustrating. Is RoR that easy to learn or is it hype or is it
just me? I wonder how many newbies like me are surfing the docs trying
to get a clue of the basics. Every tutorial I find is much the same, and
seems to skip the fundmental parts. How should you understand the Ruby
API http://api.rubyonrails.org/?
What is < ActionController::Base? Can''t I set a cookie under