I could not start the rails console while I was in the project directory with:
rails c
Issue was with readline and ncurses libraries. Go to
~/.rvm/src/ruby-1.9.2-p0/ext/readline
ruby extconf.rb
make
make install
That should do it…
I could not start the rails console while I was in the project directory with:
rails c
Issue was with readline and ncurses libraries. Go to
~/.rvm/src/ruby-1.9.2-p0/ext/readline
ruby extconf.rb
make
make install
That should do it…
I am installing Rails 3 but I will do this very clean. I will not use rvm because I will use Ruby 1.9.1 and Rails 3 only.
Get ruby 1.9.1 (latest stable as of now)
sudo apt-get install ruby1.9.1-full
Get latest RubyGems from http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz
tar -xvf rubygems-1.3.7.tgz
cd rubygems-1.3.7
rails setup.rb
Install Rails 3.0
sudo gem install rails
That’s it…
I am embarking on a Ruby on Rails adventure to learn more about it. I hear it has great things so I started my own rails rig in my virtual machine. I am still a .NET guy but I would be a fool not to learn more about this great language and platform.
I used sqlite3 into this install but feel free to use a different database.
Base rig:
Ruby and Rails framework installation:
This is it…