Chris Oliver

Joined

248,970 Experience
19 Lessons Completed
273 Questions Solved

Activity

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Thanks for the kind words Nes! I've been planning how we're going to do the Rails content with the same sort of clarity and we will definitely be taking you along step by step. Hop on the mailing list and I'll be sure to let you know when they are out. :)

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Sounds like curl isn't able to authenticate with your proxy. You might just try adding the proxy credentials into the curl command. You can run man curl in terminal to get the docs on it.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

I think you can pretty much follow the MySQL instructions and it is a seamless replacement. Try following those and you should be good.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

No, actually you have to set it up. That's sort of where my tutorial leaves off I guess.

Add gem "mysql2" to your gemfile, change the adapter in database.yml to adapter: "mysql2" and add a password line that has the database password. Run bundle install and restart your Rails app and you should be good to go!

You may also need to run rake db:create to have Rails create the database for you.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

That's saying that your database connection to the database isn't working. You may have specified a password when you installed MySQL or a different username than root. Update your database.yml to specify the database, make sure you have the mysql2 or pg gem installed in the Gemfile, and you'll be good to go.

Posted in Trying Out Bootstrap 3.0 Discussion

Perfectly good! :) Gems get installed to a location like that when you're in development. It's mostly because you shouldn't ever modify the gem's code, so they don't want to place it in a location where you might be tempted. If you do want to modify the gem, you can fork it and use either the github or path options when specifying a gem to user your own version. This didn't make much sense to me either the first time I used it.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

It sounds like you're missing the openssl lib and that's causing it to fail. Can you check to make sure you have libssl-dev installed?

Posted in Trying Out Bootstrap 3.0 Discussion

Make sure you didn't put this gem or the sass gem inside the assets group because Rails 4 no longer uses it. If that's not it, paste your Gemfile in a gist and I'll take a look!

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Thanks Al! I'll be updating the tutorial shortly. I think I wrote it when Rails 4.0 wasn't out yet but hadn't updated it since.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Fantastic! I'll update the tutorial to include this in the near future.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

I think it's likely that the editors are looking for the Ruby executables. rbenv and rvm both install hooks into the shell so that you can switch between active Ruby versions. The editors most likely don't execute your shell configuration so it doesn't find them. My suggestion in this case is to choose the version of Ruby you're planning on using and find their binary inside either the .rbenv or .rvm folders inside your home directory. That way it can find the executable directly without having to jump through one of the managers.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

That's fantastic to hear! :) Programming really is a blast and I'm glad you got Rails 3 going. You'll be able to upgrade it later on fairly easily anyways. Good luck with everything and let me know if you have any more questions!

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

I know the feeling. :) So if you go with MySQL, you need to update your database.yml to use the "mysql2" adapter and install the "mysql2" gem with your Gemfile. By default it's going to use sqlite3. You should be able to run fine with sqlite3 so it shouldn't be having any errors. Does your log/development.log file contain any info that might help debug what's wrong?

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Weird. Make sure you run "ls ~/.ssh/" to make sure. I'm sure it's just something simple. :)

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Done, thank you!

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Thanks, updated that and the ruby instructions to p247!

I think we might open source the site at some point so people can submit changes.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Thanks Michael! I've updated it to fix the typos (I think!) and improve the instructions a bit.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Ah ok! Glad you got it working! :)

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Did you use rbenv? Make sure you run rbenv rehash if you did, this command makes sure that the executables it installs are available to your user.

Posted in Setup Ubuntu 13.04 Raring Ringtail Discussion

Sure thing, you'll do just fine with Ruby 1.9.3. :)

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.