On Wed, Oct 12, 2011 at 10:16 AM, amvis <vgrkrish...@gmail.com> wrote: > I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some > steps to follow for ROR? or some effective tutorials link to setup this?
> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/ciRx6txsgY4J. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.
I can send you a tutorial I just made for Ubuntu 11.04 with Ruby on Rails (Ruby 1.9.2 and Rails 3.1) and the default web server WEBrick and database SQLite3. I have also a tutorial for Apache web server and MySQL database.
On what email should I send you? It's a text file, I haven't had the time to add images but it should be pretty self explanatory.
Hi,
You can find tons of tutorial for starting rails. I guess you can
find following blog post helpful for setting up rails.
http://goo.gl/fhgqV Feel free to comment if any problem arise.
Regards;
Kshitiz
On Oct 12, 9:46 am, amvis <vgrkrish...@gmail.com> wrote:
> I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some
> steps to follow for ROR? or some effective tutorials link to setup this?
On 12 October 2011 09:53, 0v3rr!d3 <nirvana...@gmail.com> wrote:
> Hi, > You can find tons of tutorial for starting rails. I guess you can > find following blog post helpful for setting up rails. > http://goo.gl/fhgqV > Feel free to comment if any problem arise.
*Do* use one that uses rvm (as that one does), it may seem like additional complication initially but it will repay the time very quickly.
Colin
> Regards; > Kshitiz
> On Oct 12, 9:46 am, amvis <vgrkrish...@gmail.com> wrote: >> I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some >> steps to follow for ROR? or some effective tutorials link to setup this?
> -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some
> steps to follow for ROR? or some effective tutorials link to setup this?
On 12 October 2011 10:57, Owajigbanam Ogbuluijah <xigba...@gmail.com> wrote:
> rvm would not work on ubuntu. they take pride in their Synaptic Package Manager.
> last time I installed rails (2.3.8) on my unubtu 10.4 lts, I installed them using the `sudo apt-get <package-name>' commands
No, don't do that, it is much better in my opinion to use rvm, which definitely does work on Ubuntu. Then you have the flexibility of gemsets, mutliple ruby versions and so on.
>> -- >> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk@googlegroups.com. >> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. >> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You won't need apache and passenger unless you want to run a webserver. If you are just doing development and test on your pc then they are not necessary.
Why is everybody top posting today?
Colin
> just make the right adjustment since I made this tutorial a year ago, > though the versions are different, the steps should be the same.
> On Oct 12, 12:46 pm, amvis <vgrkrish...@gmail.com> wrote: >> I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some >> steps to follow for ROR? or some effective tutorials link to setup this?
> -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rvm is working with Ubuntu. Did that with 10.4 and 11.4
There were no problems at all, but read the hole setup manual and after that begin again and do what it says. You must be sure to have all requirements and it would help if you know what you are doing:)
Someone asked because topposting, I can only answer for me but I am using android email client that does not support inline quoting...
-- send by Samsung Galaxy Tab with Overcome Mod Am 12.10.2011 11:57 schrieb "Owajigbanam Ogbuluijah" <xigba...@gmail.com>:
> > -- > > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk@googlegroups.com. > > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.
I do not think it's ok for a beginner to deal with RVM.
amvis, take the latest versions of Ruby (1.9.2) and Rails (3.1) and
play with them as if they are the only ones:)))
On Oct 12, 12:58 pm, Colin Law <clan...@googlemail.com> wrote:
> On 12 October 2011 09:53, 0v3rr!d3 <nirvana...@gmail.com> wrote:
> > Hi,
> > You can find tons of tutorial for starting rails. I guess you can
> > find following blog post helpful for setting up rails.
> >http://goo.gl/fhgqV > > Feel free to comment if any problem arise.
> *Do* use one that uses rvm (as that one does), it may seem like
> additional complication initially but it will repay the time very
> quickly.
> Colin
> > Regards;
> > Kshitiz
> > On Oct 12, 9:46 am, amvis <vgrkrish...@gmail.com> wrote:
> >> I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some
> >> steps to follow for ROR? or some effective tutorials link to setup this?
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To post to this group, send email to rubyonrails-talk@googlegroups.com.
> > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.
> On Wed, Oct 12, 2011 at 10:16 AM, amvis <vgrkrish...@gmail.com> wrote:
> > I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some
> > steps to follow for ROR? or some effective tutorials link to setup this?
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ruby on Rails: Talk" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/rubyonrails-talk/-/ciRx6txsgY4J.
> > To post to this group, send email to rubyonrails-talk@googlegroups.com.
> > To unsubscribe from this group, send email to
> > rubyonrails-talk+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/rubyonrails-talk?hl=en.
I am a total newbie.. after messing with cygwin and minw in windows i
installed ubuntu 11.04 on my laptop and did a lot of googling..
installed twice to get it to where it is (right? we'll see) but am
using rvm.. it wasn't that hard and went smoothly... there are some
specific install sites on the web that discus ruby, rails, rvm and
ubuntu. i don't have them handy but if i can find them anyone can :)
good luck!
On Oct 12, 5:43 am, amvis <vgrkrish...@gmail.com> wrote:
On Wed, Oct 12, 2011 at 11:21 AM, Max <aa...@xmission.com> wrote: > I am a total newbie.. after messing with cygwin and minw in windows i > installed ubuntu 11.04 on my laptop and did a lot of googling..
> installed twice to get it to where it is (right? we'll see) but am > using rvm.. it wasn't that hard and went smoothly... there are some > specific install sites on the web that discus ruby, rails, rvm and > ubuntu. i don't have them handy but if i can find them anyone can :)
> good luck!
> On Oct 12, 5:43 am, amvis <vgrkrish...@gmail.com> wrote: > > thanks for the responds... also i have ubuntu 11.04.
> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.
On Wed, Oct 12, 2011 at 9:32 AM, amvis <vgrkrish...@gmail.com> wrote: > after all my system have ruby 1.8.7 (2010-06-23 patchlevel 299) > [i686-linux], Rails 2.3.5, gems 1.3.7
> but i cannot proceed from this stage, for creating a simple application..
On Wed, Oct 12, 2011 at 4:53 AM, 0v3rr!d3 <nirvana...@gmail.com> wrote: > Hi, > You can find tons of tutorial for starting rails. I guess you can > find following blog post helpful for setting up rails. > http://goo.gl/fhgqV > Feel free to comment if any problem arise.
> Regards; > Kshitiz
> On Oct 12, 9:46 am, amvis <vgrkrish...@gmail.com> wrote: > > I am new to ROR, i need to setup ROR on my ubuntu machine. can u give > some > > steps to follow for ROR? or some effective tutorials link to setup this?
> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.
After i created a new rails application, when i create a database i got one error like
*cyberpro@ubuntu:~/blog$ rake db:create rake aborted! Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.
Add these two lines to you Gemfile text file located in your project directory. You can add them somewhere in the text file (you can add them after "gem 'sqlite3'" for example): gem 'execjs' gem 'therubyracer'
Save the file and the run bundle install again from the project directory: $ bundle install
Start the Rails server again to see if it worked: $ rails server (or "rails s")
> After i created a new rails application, when i create a database i got > one error like
> *cyberpro@ubuntu:~/blog$ rake db:create > rake aborted! > Could not find a JavaScript runtime. See > https://github.com/sstephenson/execjs for a list of available runtimes.
> (See full trace by running task with --trace)*
> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/c2OTNLOeJvAJ. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en.
-- --------------------- Mircea Goia Email: mirceag...@gmail.com Website: www.mirceagoia.com
Thanks for the response. i think this question, which am going to put here, is a bad question, anyway
when i start the server
cyberpro@ubuntu:~/blog$ *rails server* /home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.4/lib/rack/backports /uri/common_192.rb:53: warning: already initialized constant WFKV_ => Booting WEBrick => Rails 3.1.1 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2011-10-12 15:15:12] INFO WEBrick 1.3.1 [2011-10-12 15:15:12] INFO ruby 1.9.2 (2011-07-09) [i686-linux] [2011-10-12 15:15:12] INFO WEBrick::HTTPServer#start: pid=9007 port=3000
my question is, how to move to the db creation ? i mean how to stop this. can i use this *Call with -d to detach => Ctrl-C to shutdown server* and continue...
Couldn't disagree more. RVM actually makes like a lot easier for
beginners IMO. The install is simple and easy (just run the script)
and works perfectly fine on pretty much any version of Ubuntu.
Using RVM allows beginners to tinker with various versions of Ruby in
a non-traumatic way and keeps each project in its own gemset to avoid
version conflicts and issues with dependencies. Once installed
correctly, with wrappers in place, it works identical to native ruby
only you don't have to "sudo" so much.
It's a great place to both start and finish as a ruby developer. I run
RVM locally and in production and I advise all the newbies I help out
to do the same. Particularly on an OS X dev environment, native ruby
is a pain and RVM alleviates most of those pain points.
On Oct 12, 2:42 am, Johann Aman <johann.a...@gmail.com> wrote:
> I do not think it's ok for a beginner to deal with RVM.
> amvis, take the latest versions of Ruby (1.9.2) and Rails (3.1) and
> play with them as if they are the only ones:)))
> On Oct 12, 12:58 pm, Colin Law <clan...@googlemail.com> wrote:
> > On 12 October 2011 09:53, 0v3rr!d3 <nirvana...@gmail.com> wrote:
> > > Hi,
> > > You can find tons of tutorial for starting rails. I guess you can
> > > find following blog post helpful for setting up rails.
> > >http://goo.gl/fhgqV > > > Feel free to comment if any problem arise.
> > *Do* use one that uses rvm (as that one does), it may seem like
> > additional complication initially but it will repay the time very
> > quickly.
> > Colin
> > > Regards;
> > > Kshitiz
> > > On Oct 12, 9:46 am, amvis <vgrkrish...@gmail.com> wrote:
> > >> I am new to ROR, i need to setup ROR on my ubuntu machine. can u give some
> > >> steps to follow for ROR? or some effective tutorials link to setup this?
> > > --
> > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > > To post to this group, send email to rubyonrails-talk@googlegroups.com.
> > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.
> Thanks for the response. i think this question, which am going to put > here, is a bad question, anyway
> when i start the server
> cyberpro@ubuntu:~/blog$ rails server > /home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.4/lib/rack/backports /uri/common_192.rb:53: > warning: already initialized constant WFKV_ > => Booting WEBrick > => Rails 3.1.1 application starting in development on http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > [2011-10-12 15:15:12] INFO WEBrick 1.3.1 > [2011-10-12 15:15:12] INFO ruby 1.9.2 (2011-07-09) [i686-linux] > [2011-10-12 15:15:12] INFO WEBrick::HTTPServer#start: pid=9007 port=3000
> my question is, how to move to the db creation ? i mean how to stop this. > can i use this Call with -d to detach > => Ctrl-C to shutdown server and continue...
> Am sorry for asking this type of question
Work through some tutorials that will show you the basics of Rails. railstutorial.org is good and is free to use online. Then you will look back on the questions you are asking and not believe that you had to ask them :)